@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2C3E50;
    --light-color: #F7F9FC;
    --text-color: #333;
    --radius: 20px;

    /* ขนาดตัวอักษรพื้นฐาน (Bootstrap default = 1rem / 16px) */
    --bs-body-font-size: 1rem;
}

html {
    font-size: 16px; /* 100% ของ 16px */
}

body {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    font-size: var(--bs-body-font-size);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
}

/* Navbar Customization */
.navbar {
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    /* Larger padding initially */
    background-color: rgba(0, 0, 0, 0.25);
    /* Reduced opacity black background for desktop */
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: white !important;
        padding: 0.8rem 0;
    }

    .navbar .logo {
        color: var(--primary-color) !important;
        text-shadow: none;
    }

    .navbar .nav-link {
        color: var(--dark-color) !important;
        text-shadow: none;
    }

    .navbar .navbar-toggler {
        border-color: var(--primary-color);
    }

    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 107, 107, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link {
    font-weight: 600;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    font-size: 1.1rem;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    border-bottom: 1px solid #e9ecef;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* Scrolled Navbar State */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .logo {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.navbar-scrolled .nav-link {
    color: var(--dark-color) !important;
    text-shadow: none;
}

.navbar-scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-scrolled .navbar-toggler {
    background-color: var(--primary-color);
}


/* Hero Section */
header {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    /* Slight darkening for text contrast */
    color: white;
    padding-top: 300px;
    /* Offset for navbar */
}

.hero-title {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-subtitle {
    color: #f0f0f0;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Custom Card Styling */
.custom-card {
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.custom-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.custom-card .card-title {
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* Recommended Learning Materials Section Background */
#cards {
    position: relative;
    z-index: 1;
    /* Ensure content is above background */
}

#cards::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/recommended-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* Math Corner Background */
#news {
    position: relative;
    z-index: 1;
}

#news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/math-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* English Corner Background */
#english-corner {
    position: relative;
    z-index: 1;
}

#english-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/english-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

#videos {
    position: relative;
    z-index: 1;
}

#videos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/english-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

#science-corner {
    position: relative;
    z-index: 1;
}

#science-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/thai-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

#intelligence-corner {
    position: relative;
    z-index: 1;
}

#intelligence-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/intelligence-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* Art Corner Background */
#art-corner {
    position: relative;
    z-index: 1;
}

#art-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/art-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* Thai Corner Background */
#new-arrivals {
    position: relative;
    z-index: 1;
}

#new-arrivals::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/thai-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* Thai Corner Background */
#thai-corner {
    position: relative;
    z-index: 1;
}

#thai-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/thai-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* News Section */
.news-main .card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-main .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.news-item-small {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.news-item-small:hover {
    transform: translateX(5px);
}

/* Video Section */
.video-item .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.video-item img {
    transition: transform 0.4s;
}

.video-item:hover img {
    transform: scale(1.1);
}

/* Footer Colors */
.hover-white:hover {
    color: white !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.scrolling-wrapper {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Welcome Section Social Buttons */
.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: white;
    border: 2px solid #eee;
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white !important;
    border-color: transparent;
}

.social-btn.facebook:hover {
    background-color: #1877F2;
}

.social-btn.youtube:hover {
    background-color: #FF0000;
}

.social-btn.android:hover {
    background-color: #3DDC84;
}

/* Hero Stats */
.stat-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

/* Brand Button Style */
.btn-brand-outline {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    border-radius: 50rem;
    /* Pill shape */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Ensure normal link underline is gone */
    display: inline-block;
    /* Ensure proper spacing */
}

.btn-brand-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* =============================================
   Authentication Pages Styles
   ============================================= */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.auth-logo h1 {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.auth-logo p {
    font-size: 0.95rem;
}

/* OAuth Buttons */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-google {
    background-color: #fff;
    border-color: #ddd;
    color: #333;
}

.btn-google:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #333;
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
    color: white;
}

.btn-facebook i {
    font-size: 1.1rem;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
}

/* Auth Form */
.auth-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.auth-form .form-label i {
    color: var(--primary-color);
}

.auth-form .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.auth-form .form-control::placeholder {
    color: #aaa;
}

.auth-form .input-group .btn {
    border-radius: 0 12px 12px 0;
    border: 2px solid #e8e8e8;
    border-left: none;
    color: #666;
}

.auth-form .input-group .btn:hover {
    background-color: #f5f5f5;
}

.auth-form .input-group .form-control {
    border-radius: 12px 0 0 12px;
}

/* Login/Register Buttons */
.btn-login,
.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8585 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-register:hover {
    background: linear-gradient(135deg, #ff5a5a 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Forgot Password */
.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #ff5a5a;
    text-decoration: underline;
}

/* Form Check */
.auth-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    margin: 0;
    color: #666;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 25px;
    }

    .auth-logo h1 {
        font-size: 1.5rem;
    }

    .btn-oauth {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* =============================================
   Profile Page Styles
   ============================================= */

.profile-page {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.profile-header h1 {
    color: var(--dark-color);
}

/* Profile Cards */
.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
}

.profile-card-header h5 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.profile-card-body {
    padding: 25px;
}

/* Profile Sidebar */
.profile-sidebar .profile-card {
    padding: 5px 25px;
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    padding: 10px;;
}

.oauth-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}

.oauth-badge .fa-google {
    color: #DB4437;
}

.oauth-badge .fa-facebook-f {
    color: #1877F2;
}

/* Profile Navigation */
.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-nav-item i {
    width: 20px;
    text-align: center;
}

.profile-nav-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.profile-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8585 100%);
    color: white;
}

/* Form Styles */
.profile-card .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.profile-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.profile-card .form-control:disabled,
.profile-card .form-control:read-only {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.profile-card .form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.profile-card .form-text {
    color: #999;
    font-size: 0.85rem;
}

.profile-card .input-group .btn {
    border-radius: 0 12px 12px 0;
    border: 2px solid #e8e8e8;
    border-left: none;
}

.profile-card .input-group .form-control {
    border-radius: 12px 0 0 12px;
}

/* Login Method Badge */
.login-method-badge .badge {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Info Item */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: var(--dark-color);
    font-weight: 600;
}

/* Upload Avatar Form */
.upload-avatar-form label {
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-avatar-form label:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Primary Button */
.profile-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8585 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-card .btn-primary:hover {
    background: linear-gradient(135deg, #ff5a5a 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-sidebar {
        margin-bottom: 20px;
    }

    .profile-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile-nav-item {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =============================================
   Member Section Styles
   ============================================= */

.member-section {
    background: linear-gradient(135deg, #ffe8e8 0%, #fff0f0 50%, #ffe5e5 100%);
    position: relative;
    overflow: hidden;
}

.member-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    animation: float-bg 15s ease-in-out infinite;
}

@keyframes float-bg {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 20px);
    }
}

.member-card {
    background: white;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.15);
    border: 2px solid rgba(255, 107, 107, 0.2);
    position: relative;
    z-index: 1;
}

.member-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8585 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.member-title {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
}

.member-greeting {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.member-text {
    color: #666;
    font-size: 0.95rem;
}

/* Member Buttons */
.btn-member-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8585 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-member-register:hover {
    background: linear-gradient(135deg, #ff5a5a 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-member-login {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-member-login:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-member-profile {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #6dd5c9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-member-profile:hover {
    background: linear-gradient(135deg, #3dbfb3 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-member-logout {
    background: white;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-member-logout:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-member-saved {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-member-saved:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Member Section Responsive */
@media (max-width: 991px) {
    .member-card {
        text-align: center;
    }

    .member-content .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .member-buttons {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    .member-card {
        padding: 25px 20px;
    }

    .member-buttons {
        flex-direction: column;
    }

    .member-buttons .btn {
        width: 100%;
    }
}