html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding: 0;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== SmartChef Layout & Navigation Styles ===== */

/* Layout */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Bar */
.navbar-brand {
    font-size: 1.5rem;
    color: #333 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ff6b6b !important;
}

.navbar-nav .nav-link.active {
    color: #ff6b6b !important;
    font-weight: 600;
}

.dropdown-item {
    color: #555;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ff6b6b;
}

.dropdown-item button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0;
    color: inherit;
}

/* ===== SmartChef Styles ===== */

/* Global Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.search-input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 1.2rem;
    outline: none;
    background: white;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #ff6b6b;
    border: none;
    padding: 18px 30px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #ff5252;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.btn-primary:hover {
    background: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
    background: #f8f9fa;
    width: 100%;
}

.featured-section .container {
    max-width: 95%;
    padding: 0 40px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4rem;
}

/* Recipe Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

/* For very large screens - show up to 5 columns */
@media (min-width: 1600px) {
    .recipe-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }
    
    .featured-section .container {
        max-width: 98%;
        padding: 0 50px;
    }
}

/* For large screens - show up to 4 columns */
@media (min-width: 1200px) and (max-width: 1599px) {
    .recipe-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .featured-section .container {
        max-width: 96%;
        padding: 0 45px;
    }
}

/* For medium-large screens - show 3 columns */
@media (min-width: 992px) and (max-width: 1199px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .featured-section .container {
        max-width: 94%;
        padding: 0 35px;
    }
}

/* For medium screens - show 2 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .featured-section .container {
        max-width: 92%;
        padding: 0 30px;
    }
}

/* Recipe Cards */
.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.recipe-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #333;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.recipe-content {
    padding: 2rem;
}

.recipe-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.recipe-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.prep-time, .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-weight: 500;
}

.prep-time i, .rating i {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .featured-section .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .search-input {
        border-radius: 15px 15px 0 0;
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .search-btn {
        border-radius: 0 0 15px 15px;
        padding: 15px 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .featured-section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .recipe-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .search-btn {
        padding: 12px 20px;
    }
    
    .featured-section .container {
        padding: 0 15px;
    }
}

/* ===== SmartChef Authentication Styles ===== */

/* Auth Header Section */
.auth-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.auth-header {
    max-width: 700px;
    margin: 0 auto;
}

.auth-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.auth-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Auth Form Section */
.auth-form-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.auth-form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #666;
    margin-bottom: 0;
}

/* Auth Form Styling */
.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #ff6b6b;
    margin-right: 0.5rem;
    width: 16px;
}

.auth-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.auth-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.1);
}

/* Auth Buttons */
.btn-auth-primary {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, #ff5252 0%, #ff4444 100%);
}

.btn-auth-secondary {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-auth-secondary:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Auth Links */
.auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.auth-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.auth-link:hover {
    color: #ff6b6b;
    text-decoration: none;
}

.auth-link i {
    margin-right: 0.5rem;
    width: 14px;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.auth-divider span {
    background: white;
    color: #666;
    padding: 0 1rem;
    font-size: 0.9rem;
    position: relative;
}

/* Auth Register/Login Switch */
.auth-register {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-register p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Auth Benefits */
.auth-benefits {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.auth-benefits h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.9rem;
}

.auth-benefits li i {
    color: #28a745;
    margin-right: 0.75rem;
    width: 16px;
}

.auth-benefits li i.fa-crown {
    color: #ffd700;
}

/* External Login Section */
.external-login-section {
    border-top: 1px solid #e1e5e9;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.external-login-section h3 {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.external-login-form {
    width: 100%;
}

.external-providers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.external-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    color: #333;
    position: relative;
    overflow: hidden;
}

.external-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.external-login-btn:active {
    transform: translateY(0);
}

.external-login-btn i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.external-login-btn span {
    font-weight: 500;
}

/* Google Button */
.google-btn {
    border-color: #4285f4;
    color: #4285f4;
}

.google-btn:hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.google-btn:hover i {
    color: white;
}

/* Microsoft Button */
.microsoft-btn {
    border-color: #0078d4;
    color: #0078d4;
}

.microsoft-btn:hover {
    background: #0078d4;
    color: white;
    border-color: #0078d4;
}

/* Facebook Button */
.facebook-btn {
    border-color: #1877f2;
    color: #1877f2;
}

.facebook-btn:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

/* Twitter Button */
.twitter-btn {
    border-color: #1da1f2;
    color: #1da1f2;
}

.twitter-btn:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* GitHub Button */
.github-btn {
    border-color: #333;
    color: #333;
}

.github-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

/* Default Button */
.default-btn {
    border-color: #666;
    color: #666;
}

.default-btn:hover {
    background: #666;
    color: white;
    border-color: #666;
}

/* No External Providers */
.no-external-providers {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
}

.external-provider-note {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.external-provider-note i {
    color: #007bff;
}

/* Alternative Google Button with Google Branding */
.google-btn.branded {
    background: white;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-family: "Google Sans", Arial, sans-serif;
}

.google-btn.branded:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.google-btn.branded i {
    background: linear-gradient(45deg, #ea4335 25%, #4285f4 25%, #4285f4 50%, #34a853 50%, #34a853 75%, #fbbc05 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for External Logins */
@media (max-width: 768px) {
    .external-login-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .external-login-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .external-providers {
        gap: 0.5rem;
    }
    
    .external-login-btn {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* Validation Styling */
.validation-summary {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.validation-summary ul {
    margin: 0;
    padding-left: 1.2rem;
}

.validation-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Status Message */
.status-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.status-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.status-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-title {
        font-size: 2.2rem;
    }
    
    .auth-subtitle {
        font-size: 1.1rem;
    }
    
    .auth-form-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .auth-form-section {
        padding: 40px 0;
    }
    
    .auth-header-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .auth-title {
        font-size: 1.8rem;
    }
    
    .auth-form-card {
        padding: 1.5rem 1rem;
    }
    
    .auth-input {
        padding: 12px 15px;
    }
    
    .btn-auth-primary {
        padding: 12px 15px;
    }
}

/* ===== SmartChef Confirmation Page Styles ===== */

/* Confirmation Success State */
.confirmation-success {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-success h3 {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-info {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.email-info strong {
    color: #333;
}

.confirmation-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.info-box i {
    color: #2196f3;
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.confirmation-actions {
    text-align: center;
}

/* Confirmation Pending State */
.confirmation-pending {
    text-align: center;
    margin-bottom: 2rem;
}

.pending-icon {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.confirmation-pending h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Email Instructions */
.email-instructions {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.email-instructions h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.email-instructions ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.email-instructions li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #555;
    font-size: 0.95rem;
    counter-increment: step-counter;
    position: relative;
    padding-left: 2.5rem;
}

.email-instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    background: #ff6b6b;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.email-instructions li i {
    color: #ff6b6b;
    margin-right: 0.75rem;
    width: 16px;
}

/* Help Section */
.help-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.help-section h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-links .auth-link {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.help-links .auth-link:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
    transform: translateY(-1px);
}

.help-links .auth-link:hover i {
    color: white;
}

/* Enhanced Auth Benefits for Confirmation */
.auth-benefits {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.auth-benefits h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.auth-benefits li i {
    color: #ffd700;
    margin-right: 0.75rem;
    width: 16px;
}

/* Responsive Design for Confirmation */
@media (max-width: 768px) {
    .confirmation-success h3,
    .confirmation-pending h3 {
        font-size: 1.3rem;
    }
    
    .success-icon,
    .pending-icon {
        font-size: 3rem;
    }
    
    .email-instructions li {
        padding-left: 2rem;
        font-size: 0.9rem;
    }
    
    .email-instructions li::before {
        width: 1.2rem;
        height: 1.2rem;
        font-size: 0.7rem;
    }
    
    .help-links {
        gap: 0.5rem;
    }
    
    .help-links .auth-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .confirmation-info,
    .email-instructions,
    .help-section {
        padding: 1rem;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== SmartChef Footer Styles ===== */

.smartchef-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: auto;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-sections {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Footer Brand */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: #ff6b6b;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Footer Sections */
.footer-section {
    
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ff6b6b;
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-location,
.footer-email {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-location i,
.footer-email i {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-sections {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 30px;
    }
    
    .footer-sections {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-meta {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-content {
        padding: 30px 0 20px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
}

/* ===== Legal Pages Styles ===== */

.legal-content-section {
    padding: 60px 0;
    background: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem;
}

.legal-meta {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    border-left: 4px solid #ff6b6b;
}

.legal-meta p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.legal-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.legal-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6b6b;
    display: inline-block;
}

.legal-section h3 {
    color: #444;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    line-height: 1.6;
    color: #555;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: #333;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #555;
}

.contact-info strong {
    color: #333;
}

.legal-footer {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.legal-footer p {
    margin: 0;
    font-size: 1rem;
}

.legal-footer a {
    color: white;
    text-decoration: underline;
}

.legal-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Contact Page Styles ===== */

.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card,
.contact-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.contact-card h2,
.contact-form-card h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p,
.contact-form-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ff5252;
    text-decoration: underline;
}

/* Emergency Contact */
.emergency-contact {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.emergency-contact h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.emergency-contact a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.message-input {
    resize: vertical;
    min-height: 120px;
}

.submit-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.submit-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.submit-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Additional Resources */
.additional-resources {
    text-align: center;
    margin-top: 4rem;
}

.additional-resources h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.resource-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Legal and Contact Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .legal-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-content-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 1.5rem 1rem;
    }
    
    .legal-content {
        margin: 0 0.5rem;
        padding: 1.25rem;
    }
}

/* ===== External Login Page Styles ===== */

.external-success-info {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.success-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.provider-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.provider-icon.google-provider {
    background: white;
    color: #4285f4;
}

.provider-icon.microsoft-provider {
    background: white;
    color: #0078d4;
}

.provider-icon.facebook-provider {
    background: white;
    color: #1877f2;
}

.provider-icon.default-provider {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.success-content h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

.auth-footer-note {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.auth-footer-note p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.auth-footer-note i {
    color: #28a745;
}

.auth-footer-note a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-note a:hover {
    text-decoration: underline;
}

/* Alert Styling for External Login */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert i {
    font-size: 1.1rem;
}

/* Enhanced Auth Benefits for External Login */
.auth-benefits {
    background: linear-gradient(135def, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.auth-benefits h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.auth-benefits li i {
    color: #ffd700;
    margin-right: 0.75rem;
    width: 16px;
}

.auth-benefits li i.fa-crown {
    color: #ffd700;
}

/* Enhanced Form Styling */
.auth-input[readonly] {
    background-color: #f8f9fa;
    border-color: #28a745;
    color: #333;
}

.auth-input[readonly]:focus {
    background-color: #f8f9fa;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Responsive Design for External Login */
@media (max-width: 768px) {
    .success-indicator {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .provider-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .success-content h3 {
        font-size: 1.1rem;
    }
    
    .success-content p {
        font-size: 0.95rem;
    }
    
    .auth-footer-note p {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .external-success-info {
        padding: 1.25rem;
    }
    
    .auth-footer-note {
        padding: 0.75rem;
    }
    
    .auth-footer-note p {
        font-size: 0.85rem;
    }
}

/* ===== Profile Management Styles ===== */

/* Profile Header */
.profile-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-avatar {
    position: relative;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.profile-initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.profile-email {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Management Section */
.profile-management-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

/* Profile Tabs */
.profile-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.tab-button {
    flex: 1;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.tab-button:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.tab-button.active {
    background: white;
    color: #ff6b6b;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b6b;
}

.tab-button i {
    font-size: 1.1rem;
}

/* Tab Content */
.tab-content {
    padding: 0;
}

.tab-panel {
    padding: 3rem;
}

.panel-header {
    margin-bottom: 2rem;
    text-align: center;
}

.panel-header h3 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.panel-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Profile Forms */
.profile-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: #ff6b6b;
    width: 16px;
}

.profile-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.profile-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.profile-input:disabled {
    background-color: #f8f9fa;
    color: #666;
}

.profile-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e5e9;
}

.btn-profile-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-profile-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, #ff5252 0%, #ff4444 100%);
}

.btn-profile-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-profile-secondary {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-profile-secondary:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Dietary Preferences */
.dietary-preferences {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.dietary-preferences h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preference-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    user-select: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    position: relative;
}

.checkbox-label:hover {
    background: rgba(255, 107, 107, 0.05);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: #ff6b6b;
}

.checkmark {
    margin-left: 0.5rem;
}

/* Preference Sections */
.preference-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.preference-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Security Options */
.security-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.security-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.security-card-header h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-card-header p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.security-card-actions {
    margin-top: 1rem;
}

/* Status Messages */
.status-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.status-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.status-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profile-header {
        max-width: 1000px;
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        min-width: 50%;
        padding: 1.25rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-header-section {
        padding: 40px 0;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .profile-management-section {
        padding: 40px 0;
    }
    
    .profile-tabs {
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .tab-panel {
        padding: 2rem 1.5rem;
    }
    
    .tab-button {
        min-width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .panel-header h3 {
        font-size: 1.5rem;
    }
    
    .preference-checkboxes {
        gap: 0.75rem;
    }
    
    .checkbox-label {
        padding: 0.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .profile-picture,
    .profile-initials {
        width: 100px;
        height: 100px;
    }
    
    .profile-initials {
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-email {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .tab-panel {
        padding: 1.5rem 1rem;
    }
    
    .profile-input {
        padding: 12px 15px;
    }
    
    .btn-profile-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .security-card {
        padding: 1.25rem;
    }
}