/* ============================================
   FRONTEND STYLES
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-color: #4cc9f0;
    --secondary-color: #3f37c9;

    /* Supporting colors */
    --dark-color: #3f37c9;
    --danger-color: #fc8181;

    --border-radius: 12px;
    --transition: all 0.3s ease;

    --shadow-lg: 0 10px 40px rgba(63, 55, 201, 0.25);
    
    
    --primary-dark: #5a67d8;
    --success-color: #48bb78;
    --warning-color: #f6ad55;
    --info-color: #63b3ed;
    --dark-secondary: #16213e;
    --dark-tertiary: #0f3460;
    --light-color: #f8f9fa;
    --text-color: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* ============================================
   NAVBAR / HEADER
   ============================================ */

.navbar-custom {
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        var(--secondary-color) 50%,
        var(--primary-color) 100%
    );
    min-height: 89px;
     height: 89px;
      padding: 0 !important;
    box-shadow: 0 4px 20px rgba(63, 55, 201, 0.30);
    position: sticky;
    top: 0;
     display: flex;
    align-items: center;
    z-index: 1000;
     animation: none !important;
}

/* ============================================
   BRAND
   ============================================ */

.socf-brand {
    display: flex !important;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: #fff !important;

    min-height: 65px;
}

.socf-logo {
    width: 65px;
    height: 65px;

    object-fit: contain;
    flex-shrink: 0;

    border-radius: 8px;
    background: #fff;

    transition: var(--transition);
}

.socf-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;

    max-width: 260px;

    transition: var(--transition);
}

.socf-brand:hover .socf-logo {
    transform: scale(1.05);
}

.socf-brand:hover .socf-name {
    color: var(--primary-color);
}

/* ============================================
   NAVBAR BRAND - BOOTSTRAP
   ============================================ */

.navbar-custom .navbar-brand {
    color: #fff !important;
    font-weight: 700;

    transition: var(--transition);
}

.navbar-custom .navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-custom .navbar-brand i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */

.navbar-custom .navbar-nav {
    align-items: center;
}

.navbar-custom .nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.9) !important;

    font-weight: 500;

    padding: 10px 18px;

    border-radius: 8px;

    transition: var(--transition);
}

.navbar-custom .nav-link:hover {
    color: #fff !important;

    background: rgba(76, 201, 240, 0.20);

    transform: translateY(-2px);
}

.navbar-custom .nav-link i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* ============================================
   CART / NOTIFICATION BADGE
   ============================================ */

.navbar-custom .nav-link .badge-count {
    position: absolute;

    top: 0;
    right: 0;

    min-width: 20px;

    padding: 2px 8px;

    border-radius: 50%;

    background: var(--primary-color);
    color: var(--secondary-color);

    font-size: 0.7rem;
    font-weight: 700;

    text-align: center;

    transform: translate(5px, -5px);

    box-shadow: 0 2px 10px rgba(76, 201, 240, 0.4);
}

.badge-count.has-items {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(5px, -5px);
    }

    50% {
        transform: scale(1.2) translate(5px, -5px);
    }

    100% {
        transform: scale(1) translate(5px, -5px);
    }
}

/* ============================================
   USER AVATAR
   ============================================ */

.user-avatar {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-weight: 600;
    font-size: 0.9rem;

    margin-right: 8px;

    text-transform: uppercase;

    flex-shrink: 0;
}

/* ============================================
   LOGIN BUTTON
   ============================================ */

.navbar-custom .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );

    color: #fff !important;

    padding: 10px 25px;

    border: none;
    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);
}

.navbar-custom .btn-login:hover {
    transform: scale(1.05);

    box-shadow:
        0 5px 20px rgba(76, 201, 240, 0.45);
}

/* ============================================
   REGISTER BUTTON
   ============================================ */

.navbar-custom .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    color: #fff !important;

    border: 2px solid rgba(255, 255, 255, 0.5);

    padding: 10px 25px;

    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);
}

.navbar-custom .btn-register:hover {
    background: var(--primary-color);

    border-color: var(--primary-color);

    color: var(--secondary-color) !important;

    transform: scale(1.05);
}

/* ============================================
   USER DROPDOWN
   ============================================ */

.navbar-custom .dropdown-menu {
    background: var(--secondary-color);

    border: none;
    border-radius: var(--border-radius);

    box-shadow: var(--shadow-lg);

    padding: 10px 0;

    margin-top: 10px;

    min-width: 240px;
}

.navbar-custom .dropdown-item {
    color: rgba(255, 255, 255, 0.9);

    padding: 10px 25px;

    font-size: 0.95rem;

    transition: var(--transition);
}

.navbar-custom .dropdown-item:hover {
    background: rgba(76, 201, 240, 0.25);

    color: #fff;
}

.navbar-custom .dropdown-item i {
    width: 22px;

    margin-right: 12px;

    color: var(--primary-color);
}

.navbar-custom .dropdown-item .badge {
    float: right;
    margin-top: 2px;
}

.navbar-custom .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);

    margin: 8px 0;
}

.navbar-custom .dropdown-header {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 1px;

    padding: 10px 25px 5px;

    font-weight: 600;
}

/* ============================================
   LOGOUT
   ============================================ */

.navbar-custom .dropdown-item.text-danger {
    color: var(--danger-color) !important;
}

.navbar-custom .dropdown-item.text-danger:hover {
    background: rgba(252, 129, 129, 0.15);

    color: var(--danger-color) !important;
}

.navbar-custom .dropdown-item.text-danger i {
    color: var(--danger-color);
}

/* ============================================
   NAVBAR TOGGLER
   ============================================ */

.navbar-toggler {
    border: none !important;

    box-shadow: none !important;

    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-custom .navbar-collapse {
    transition: none;
}

/* ============================================
   MOBILE HEADER
   ============================================ */

@media (max-width: 991px) {

    .navbar-custom {
        min-height: 75px;
        padding: 7px 0;
    }

    .socf-brand {
        min-height: 60px;
    }

    .socf-logo {
        width: 55px;
        height: 55px;
    }

    .socf-name {
        font-size: 1rem;
        max-width: 220px;
    }

    .navbar-custom .navbar-nav {
        padding: 20px 0;

        align-items: stretch;
    }

    .navbar-custom .nav-link {
        padding: 12px 18px;
    }

    .navbar-custom .btn-login,
    .navbar-custom .btn-register {
        display: block;

        width: 100%;

        text-align: center;

        margin: 5px 0;
    }

    .navbar-custom .dropdown-menu {
        background: rgba(63, 55, 201, 0.98);

        margin-left: 15px;
        margin-right: 15px;

        box-shadow: none;
    }

    .navbar-custom .navbar-collapse {
        padding-top: 10px;
    }
}

/* ============================================
   SMALL MOBILE
   ============================================ */

@media (max-width: 576px) {

    .socf-name {
        font-size: 0.9rem;
        max-width: 180px;
    }

    .socf-logo {
        width: 50px;
        height: 50px;
    }

    .navbar-custom {
        min-height: 70px;
    }
}


/* Badge Animation */
.badge-count.has-items {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(5px, -5px);
    }

    50% {
        transform: scale(1.2) translate(5px, -5px);
    }

    100% {
        transform: scale(1) translate(5px, -5px);
    }
}


/* ============================================
   USER AVATAR
   ============================================ */

.user-avatar {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #4cc9f0 0%,
        #3f37c9 100%
    );

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: 600;
    font-size: 0.9rem;

    margin-right: 8px;
    text-transform: uppercase;
}


/* ============================================
   LOGIN BUTTON
   ============================================ */

.navbar-custom .btn-login {
    background: linear-gradient(
        135deg,
        #4cc9f0 0%,
        #3f37c9 100%
    );

    color: white !important;

    padding: 10px 25px;
    border-radius: 50px;

    font-weight: 600;
    transition: var(--transition);

    border: none;
}

.navbar-custom .btn-login:hover {
    transform: scale(1.05);

    box-shadow:
        0 5px 20px rgba(76, 201, 240, 0.45);
}


/* ============================================
   REGISTER BUTTON
   ============================================ */

.navbar-custom .btn-register {
    background: transparent;

    color: white !important;

    border: 2px solid rgba(76, 201, 240, 0.6);

    padding: 10px 25px;
    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);
}

.navbar-custom .btn-register:hover {
    background: #4cc9f0;

    border-color: #4cc9f0;

    color: #3f37c9 !important;

    transform: scale(1.05);
}
/* ================================
   SO​CF NAVBAR THEME
   Primary: #4cc9f0
   Secondary: #3f37c9
================================ */

/* User Dropdown */
.navbar-custom .dropdown-menu {
    background: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 240px;
}

.navbar-custom .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 25px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-custom .dropdown-item:hover {
    background: rgba(76, 201, 240, 0.25);
    color: #fff;
}

.navbar-custom .dropdown-item i {
    width: 22px;
    margin-right: 12px;
    color: var(--primary-color);
}

.navbar-custom .dropdown-item .badge {
    float: right;
    margin-top: 2px;
}

.navbar-custom .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 8px 0;
}

.navbar-custom .dropdown-header {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px 5px;
    font-weight: 600;
}

/* Logout */
.navbar-custom .dropdown-item.text-danger {
    color: var(--danger-color) !important;
}

.navbar-custom .dropdown-item.text-danger:hover {
    background: rgba(252, 129, 129, 0.15);
    color: var(--danger-color) !important;
}

.navbar-custom .dropdown-item.text-danger i {
    color: var(--danger-color);
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-custom .navbar-collapse {
    transition: none;
}


/* ================================
   USER AVATAR
================================ */

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: 600;
    font-size: 0.9rem;

    margin-right: 8px;
    text-transform: uppercase;
}


/* ================================
   LOGIN BUTTON
================================ */

.navbar-custom .btn-login {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );

    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.navbar-custom .btn-login:hover {
    transform: scale(1.05);

    box-shadow:
        0 5px 20px rgba(76, 201, 240, 0.45);
}


/* ================================
   REGISTER BUTTON
================================ */

.navbar-custom .btn-register {
    background: transparent;

    color: white !important;

    border: 2px solid rgba(255, 255, 255, 0.5);

    padding: 10px 25px;
    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);
}

.navbar-custom .btn-register:hover {
    background: var(--primary-color);

    border-color: var(--primary-color);

    transform: scale(1.05);
}

/* ================================
   FIX NAVBAR JUMPING
================================ */

.navbar-custom {
    min-height: 89px;
}

/* Keep brand height stable */
.navbar-custom .navbar-brand {
    min-height: 65px;
    display: flex;
    align-items: center;
}

/* Prevent logo from changing navbar height */
.socf-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* Mobile navbar */
@media (max-width: 991px) {

    .navbar-custom {
        min-height: 75px;
        padding: 7px 0;
    }

    .navbar-custom .navbar-brand {
        min-height: 60px;
    }

    .socf-logo {
        width: 55px;
        height: 55px;
    }

    /* Mobile menu should not affect navbar positioning */
    .navbar-custom .navbar-collapse {
        padding-top: 10px;
    }
}

/* Logout Modal */
.logout-modal .modal-content {
    background: var(--dark-color);
    color: white;
    border-radius: 16px;
    border: none;
}

.logout-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logout-modal .modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-modal .btn-cancel {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: var(--transition);
}

.logout-modal .btn-cancel:hover {
    background: rgba(255,255,255,0.2);
}

.logout-modal .btn-logout-confirm {
    background: linear-gradient(135deg, var(--danger-color) 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.logout-modal .btn-logout-confirm:hover {
    transform: scale(1.05);
    color: white;
}

.logout-icon {
    font-size: 4rem;
    color: var(--danger-color);
    margin-bottom: 15px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
    background: var(--dark-color);
    color: white;
    margin-top: auto;
}

footer .text-muted {
    color: rgba(255,255,255,0.5) !important;
}

footer .hover-link {
    transition: var(--transition);
}

footer .hover-link:hover {
    color: var(--primary-color) !important;
}

footer .copyright {
    background: rgba(0,0,0,0.3);
}

/* Newsletter */
#newsletterForm .form-control {
    border-radius: 50px 0 0 50px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
}

#newsletterForm .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

#newsletterForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: rgba(255,255,255,0.1);
}

#newsletterForm .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 12px 25px;
    transition: var(--transition);
}

#newsletterForm .btn-primary:hover {
    transform: scale(1.05);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-primary-custom:active {
    transform: scale(0.95);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Product Card */
.product-card {
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card .card-body {
    padding: 15px;
}

.product-card .card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.product-card .card-text.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.input-group {
    border-radius: 10px;
    overflow: hidden;
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--text-muted);
    padding: 10px 15px;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: none;
}

/* Password Strength */
.password-strength {
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    background: #e0e0e0;
    transition: var(--transition);
    overflow: hidden;
}

.password-strength .bar {
    height: 100%;
    width: 0%;
    transition: var(--transition);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 15px 20px;
    animation: slideDown 0.3s ease;
}

.alert i {
    margin-right: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-dismissible .btn-close {
    padding: 15px 20px;
}

/* Notification Toast */
.notification-toast {
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-slider h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-slider p {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.hero-slider .hero-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1.4s ease;
}

.hero-slider .hero-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: white;
    border-color: white;
}

/* ============================================
   CATEGORY SECTION
   ============================================ */
.category-card {
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: white;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h6 {
    font-weight: 600;
    margin-bottom: 0;
}

/* ============================================
   WELCOME DASHBOARD (Logged In Users)
   ============================================ */
.welcome-dashboard {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
    padding: 60px 0;
    color: white;
    margin-bottom: 30px;
}

.welcome-dashboard h1 {
    font-weight: 700;
}

.welcome-dashboard .stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.welcome-dashboard .stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.welcome-dashboard .stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.welcome-dashboard .stat-card .number {
    font-size: 2rem;
    font-weight: 700;
}

.welcome-dashboard .stat-card .label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.welcome-dashboard .quick-actions .btn {
    border-radius: var(--border-radius);
    padding: 12px 25px;
    margin: 5px;
    transition: var(--transition);
}

.welcome-dashboard .quick-actions .btn:hover {
    transform: translateY(-3px);
}

/* ============================================
   REFERRAL CODE BOX
   ============================================ */
.referral-code-box {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
    border-radius: var(--border-radius);
    padding: 25px 30px;
    color: white;
    margin-bottom: 30px;
}

.referral-code-box .code-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.referral-code-box .code {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    background: rgba(255,255,255,0.1);
    padding: 8px 25px;
    border-radius: 10px;
    display: inline-block;
    letter-spacing: 3px;
}

.referral-code-box .btn-share {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.referral-code-box .btn-share:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ============================================
   CHECKOUT / PAYMENT
   ============================================ */
.receipt-section {
    background: #f0f4ff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.receipt-section .qr-code {
    width: 150px;
    height: 150px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   DROP ZONE (File Upload)
   ============================================ */
.drop-zone {
    border: 3px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #fafafa;
}

.drop-zone:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.drop-zone.dragover {
    border-color: var(--primary-color);
    background: #e8edff;
}

.drop-zone i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ============================================
   PROFILE
   ============================================ */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 15px;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
}

.profile-card .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.profile-card .nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
}

.profile-card .nav-tabs .nav-link:hover {
    color: var(--primary-color);
}

.profile-card .nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.profile-card .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

.profile-card .nav-tabs .nav-link i {
    margin-right: 8px;
}

/* ============================================
   ORDER/PAYMENT CARDS
   ============================================ */
.order-card .status-badge,
.payment-card .status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-card .status-badge.pending,
.payment-card .status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.order-card .status-badge.paid,
.payment-card .status-badge.paid {
    background: #cce5ff;
    color: #004085;
}

.order-card .status-badge.verified,
.payment-card .status-badge.verified {
    background: #d4edda;
    color: #155724;
}

.order-card .status-badge.shipped,
.payment-card .status-badge.shipped {
    background: #d1ecf1;
    color: #0c5460;
}

.order-card .status-badge.delivered,
.payment-card .status-badge.delivered {
    background: #d4edda;
    color: #155724;
}

.order-card .status-badge.cancelled,
.payment-card .status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 20px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .hero-slider h1 {
        font-size: 3.5rem;
    }
    .hero-slider p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-custom .navbar-nav {
        padding: 20px 0;
    }
    .navbar-custom .nav-link {
        padding: 12px 18px;
    }
    .navbar-custom .btn-login,
    .navbar-custom .btn-register {
        display: block;
        text-align: center;
        margin: 5px 0;
    }
    .navbar-custom .dropdown-menu {
        background: rgba(26, 26, 46, 0.95);
        margin-left: 15px;
    }
    .hero-slider {
        height: 450px;
    }
    .hero-slider h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
    .hero-slider h1 {
        font-size: 2rem;
    }
    .hero-slider p {
        font-size: 1rem;
    }
    .hero-slider .hero-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .welcome-dashboard {
        padding: 40px 0;
    }
    .welcome-dashboard h1 {
        font-size: 1.5rem;
    }
    .welcome-dashboard .stat-card .number {
        font-size: 1.3rem;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    .referral-code-box .code {
        font-size: 1.3rem;
        padding: 5px 15px;
    }
    .category-card {
        padding: 20px;
    }
    .category-card i {
        font-size: 2rem;
    }
    .order-card .order-header,
    .payment-card .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .order-card .order-footer,
    .payment-card .payment-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .filter-section .btn-filter {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 300px;
    }
    .hero-slider h1 {
        font-size: 1.5rem;
    }
    .hero-slider p {
        font-size: 0.85rem;
    }
    .hero-slider .hero-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .stat-card .number {
        font-size: 1.1rem;
    }
    .stat-card .label {
        font-size: 0.7rem;
    }
    .card-body {
        padding: 15px;
    }
    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    .status-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-md);
}

.cursor-pointer {
    cursor: pointer;
}

.rounded-12 {
    border-radius: var(--border-radius);
}

.transition {
    transition: var(--transition);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar-custom,
    footer,
    .no-print {
        display: none !important;
    }
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

.table-responsive-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.table-responsive-wrapper::-webkit-scrollbar {
    height: 10px;
    background: #f1f1f1;
}
.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}


.table-responsive-wrapper table .col-actions { 
    width: 420px; 
    min-width: 380px; 
    max-width: 500px; 
}

.action-buttons .btn {
    padding: 6px 14px;
    font-size: 0.78rem;
    min-width: 65px;
}

.sticky-col-actions {
    box-shadow: -4px 0 10px rgba(0,0,0,0.05);
}
.table-responsive-wrapper table {
    min-width: 1100px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* SO​CF Logo & Brand */
.socf-brand {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff !important;
}

.socf-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.socf-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 260px;
}

.socf-brand:hover .socf-logo {
    transform: scale(1.05);
}

.socf-brand:hover .socf-name {
    color: #b7e87c;
}

/* Mobile */
@media (max-width: 991px) {
    .socf-logo {
        width: 55px;
        height: 55px;
    }

    .socf-name {
        font-size: 1rem;
        max-width: 220px;
    }
}

```css
/* ============================================
   FOOTER BRAND / LOGO
   ============================================ */

.footer-brand {
    gap: 12px;
}

.footer-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-brand-name {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-brand:hover .footer-logo {
    transform: scale(1.05);
}

.footer-brand:hover .footer-brand-name {
    color: var(--frosted-blue);
}

/* Mobile */
@media (max-width: 576px) {
    .footer-logo {
        width: 48px;
        height: 48px;
    }

    .footer-brand-name {
        font-size: 1rem;
    }
}
