/* Buyer System Styles - Professional Design */

/* CSS Variables for Consistent Design */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #6366f1;
    --secondary-color: #7c3aed;
    --secondary-dark: #5b21b6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --gradient-success: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    --gradient-error: linear-gradient(135deg, var(--error-color) 0%, #dc2626 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    margin: 0;
    padding: 0;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Registration Container */
.registration-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 100vh;
    align-items: start;
}

/* Professional Registration Card */
.registration-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.registration-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

/* Enhanced Card Header */
.card-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.card-header h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Professional Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: var(--error-color);
    border-color: #fecaca;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: var(--success-color);
    border-color: #bbf7d0;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Message Display */
.message {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
}

.message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.message.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: var(--success-color);
    border-color: #bbf7d0;
}

.message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: var(--error-color);
    border-color: #fecaca;
}

.message i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Enhanced Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group label i {
    color: var(--primary-color);
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group input,
.form-group select {
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.4;
}

/* Enhanced Checkbox Styles */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.checkbox-label:hover {
    background: var(--bg-tertiary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
    animation: checkmarkAppear 0.2s ease-out;
}

@keyframes checkmarkAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.checkbox-label a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Professional Button Styles */
.btn-register {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-sans);
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:active {
    transform: translateY(-1px);
}

.btn-register i {
    font-size: 1.25rem;
    transition: var(--transition);
}

.btn-register:hover i {
    transform: scale(1.1);
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.login-link p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
}

.login-link a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Professional Benefits Card */
.benefits-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-2xl);
    padding: 3rem 2.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.benefits-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.benefits-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.benefits-card h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.benefits-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.benefits-card li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.benefits-card li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.benefits-card li i {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .registration-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .registration-container {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .registration-card {
        padding: 2rem 1.5rem;
    }
    
    .card-header h2 {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.875rem;
    }
    
    .btn-register {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .registration-container {
        padding: 0.5rem;
    }
    
    .registration-card {
        padding: 1.5rem 1rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .benefits-card {
        padding: 1.5rem 1rem;
    }
    
    .benefits-card h3 {
        font-size: 1.3rem;
    }
}

/* Animation for form elements */
.form-group input,
.form-group select {
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for button */
.btn-register.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-register.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Login Container */
.login-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Login Button */
.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a5acd 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Login Actions */
.login-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.forgot-password:hover {
    text-decoration: underline;
}

.register-link p {
    color: #666;
    font-size: 1rem;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Features Card */
.features-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.features-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.features-card p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-list .feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-list .feature-item i {
    font-size: 1.5rem;
    color: #10b981;
    width: 2rem;
    text-align: center;
}

.feature-list .feature-item span {
    font-weight: 500;
}

/* Loading state for login button */
.btn-login.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-login.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

/* Responsive Design for Login */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .btn-login {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.5rem;
    }
    
    .login-card {
        padding: 1.5rem 1rem;
    }
    
    .features-card {
        padding: 1.5rem 1rem;
    }
}

/* Enhanced Buyer Dashboard Styles */

/* Enhanced Dashboard Header */
.dashboard-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.dashboard-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-header .logo h1 {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-header .logo p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
}

.dashboard-header .user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    text-align: right;
}

.user-info h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.user-info p {
    margin: 0.25rem 0 0 0;
    opacity: 0.8;
    font-size: 0.875rem;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Welcome Section */
.welcome-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    z-index: 0;
}

.welcome-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-content h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.welcome-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.welcome-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.welcome-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.welcome-stat .stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* Enhanced Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.stat-card .stat-description {
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Enhanced Quick Actions */
.quick-actions {
    background: var(--bg-primary);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    z-index: 0;
}

.actions-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.actions-content h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0 0 2.5rem 0;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.action-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary i, .btn-secondary i {
    font-size: 1.25rem;
    transition: var(--transition);
}

.btn-primary:hover i, .btn-secondary:hover i {
    transform: scale(1.1);
}

/* Enhanced Orders Section */
.orders-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-bottom: 2rem;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.orders-header h3 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orders-filter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-select {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.filter-select:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

/* Enhanced Orders Grid */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.order-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.order-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.order-info h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.order-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.pending {
    background: var(--gradient-warning);
    color: white;
}

.order-status.completed {
    background: var(--gradient-success);
    color: white;
}

.order-status.cancelled {
    background: var(--gradient-error);
    color: white;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.order-detail {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.order-detail .detail-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.order-detail .detail-value {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Order Content */
.order-service {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-icon .fab.fa-youtube { background: #ff0000; }
.service-icon .fab.fa-tiktok { background: #000000; }
.service-icon .fab.fa-instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.service-info h4 {
    margin: 0 0 0.25rem 0;
    color: #1e293b;
    font-weight: 600;
}

.service-details .quantity {
    color: #64748b;
    font-weight: 500;
}

/* Order Details */
.order-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: #64748b;
    font-weight: 500;
}

.detail-item .value {
    color: #1e293b;
    font-weight: 600;
}

.detail-item .value.price {
    color: #059669;
    font-size: 1.1rem;
}

.detail-item .value.order-id {
    color: #667eea;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Enhanced Order Actions */
.order-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.btn-view, .btn-cancel {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    min-width: 140px;
    justify-content: center;
    font-family: var(--font-sans);
    text-decoration: none;
}

.btn-view {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cancel {
    background: var(--bg-primary);
    color: var(--error-color);
    border: 2px solid var(--error-color);
}

.btn-cancel:hover {
    background: var(--error-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Empty Orders */
.empty-orders {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    border: 2px dashed var(--border-color);
    position: relative;
    overflow: hidden;
}

.empty-orders::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.empty-icon {
    font-size: 5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.empty-orders h4 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.empty-orders p {
    color: var(--text-secondary);
    margin: 0 0 2.5rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .welcome-content h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        padding: 0 0.5rem;
    }
    
    .orders-grid {
        padding: 0 0.5rem;
    }
    
    .order-card {
        padding: 1rem;
    }
}

/* Enhanced Buyer Login Styles */

/* Login Header */
.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.login-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-header .logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-header .logo p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.login-header .nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.login-header .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.login-header .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Login Main */
.login-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 100px);
    padding: 3rem 0;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

/* Login Content */
.login-content {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.login-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: white;
}

.login-header-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.login-header-section p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
}

/* Login Form */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: #667eea;
    width: 1.2rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #475569;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-login:active {
    transform: translateY(-1px);
}

/* Login Footer */
.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.login-footer p {
    color: #64748b;
    margin: 0;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login Features */
.login-features {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h3 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.features-header p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-features {
        order: -1;
    }
}

@media (max-width: 768px) {
    .login-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .login-container {
        padding: 0 1rem;
    }
    
    .login-content,
    .login-features {
        padding: 2rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .features-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .login-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .login-content,
    .login-features {
        padding: 1.5rem;
    }
    
    .login-header-section h2 {
        font-size: 1.75rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-item:hover {
        transform: translateY(-3px);
    }
}

/* Enhanced Buyer Registration Styles */

/* Register Header */
.register-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.register-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-header .logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.register-header .logo p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.register-header .nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.register-header .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.register-header .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Register Main */
.register-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 100px);
    padding: 3rem 0;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

/* Register Content */
.register-content {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.register-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.register-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: white;
}

.register-header-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.register-header-section p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
}

/* Register Form */
.register-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group:not(.checkbox-group) {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: #667eea;
    width: 1.2rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Checkbox Group */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Register Button */
.btn-register {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-register:active {
    transform: translateY(-1px);
}

/* Register Footer */
.register-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.register-footer p {
    color: #64748b;
    margin: 0;
}

.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Register Benefits */
.register-benefits {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h3 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.benefits-header p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.benefit-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-benefits {
        order: -1;
    }
}

@media (max-width: 768px) {
    .register-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .register-container {
        padding: 0 1rem;
    }
    
    .register-content,
    .register-benefits {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .benefits-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .register-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .register-content,
    .register-benefits {
        padding: 1.5rem;
    }
    
    .register-header-section h2 {
        font-size: 1.75rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .benefit-item:hover {
        transform: translateY(-3px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .dashboard-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .welcome-content {
        padding: 0 1rem;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .actions-content {
        padding: 0 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-view, .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .dashboard-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .dashboard-header .logo p {
        font-size: 0.8rem;
    }
    
    .welcome-content h2 {
        font-size: 1.75rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
    
    .stats-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card .stat-content h3 {
        font-size: 2rem;
    }
    
    .actions-content h3 {
        font-size: 1.5rem;
    }
    
    .orders-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .order-card {
        padding: 1rem;
    }
    
    .orders-header h3 {
        font-size: 1.5rem;
    }
    
    .filter-select {
        min-width: 120px;
        padding: 0.6rem 1rem;
    }
}

/* Enhanced Buyer Login Styles */

/* Login Header */
.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.login-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-header .logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-header .logo p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.login-header .nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.login-header .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.login-header .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Login Main */
.login-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 100px);
    padding: 3rem 0;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

/* Login Content */
.login-content {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.login-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: white;
}

.login-header-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.login-header-section p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
}

/* Login Form */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: #667eea;
    width: 1.2rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #475569;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-login:active {
    transform: translateY(-1px);
}

/* Login Footer */
.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.login-footer p {
    color: #64748b;
    margin: 0;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login Features */
.login-features {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h3 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.features-header p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-features {
        order: -1;
    }
}

@media (max-width: 768px) {
    .login-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .login-container {
        padding: 0 1rem;
    }
    
    .login-content,
    .login-features {
        padding: 2rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .features-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .login-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .login-content,
    .login-features {
        padding: 1.5rem;
    }
    
    .login-header-section h2 {
        font-size: 1.75rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-item:hover {
        transform: translateY(-3px);
    }
}

/* Enhanced Buyer Registration Styles */

/* Register Header */
.register-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.register-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-header .logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.register-header .logo p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.register-header .nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.register-header .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.register-header .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Register Main */
.register-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 100px);
    padding: 3rem 0;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

/* Register Content */
.register-content {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.register-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.register-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: white;
}

.register-header-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.register-header-section p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
}

/* Register Form */
.register-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group:not(.checkbox-group) {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: #667eea;
    width: 1.2rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Checkbox Group */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Register Button */
.btn-register {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-register:active {
    transform: translateY(-1px);
}

/* Register Footer */
.register-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.register-footer p {
    color: #64748b;
    margin: 0;
}

.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Register Benefits */
.register-benefits {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h3 {
    font-size: 2rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.benefits-header p {
    color: #64748b;
    margin: 0;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.benefit-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-benefits {
        order: -1;
    }
}

@media (max-width: 768px) {
    .register-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .register-container {
        padding: 0 1rem;
    }
    
    .register-content,
    .register-benefits {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .benefits-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .register-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .register-content,
    .register-benefits {
        padding: 1.5rem;
    }
    
    .register-header-section h2 {
        font-size: 1.75rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .benefit-item:hover {
        transform: translateY(-3px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .registration-container {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
        padding: 2.5rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .orders-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .registration-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .benefits-card {
        position: static;
        order: -1;
    }
    
    .welcome-content h2 {
        font-size: 2.5rem;
    }
    
    .actions-content h3 {
        font-size: 2rem;
    }
    
    .orders-header h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .dashboard-header .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .dashboard-header .logo h1 {
        font-size: 2rem;
    }
    
    .welcome-content {
        padding: 0 1rem;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content p {
        font-size: 1.125rem;
    }
    
    .welcome-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .actions-content {
        padding: 0 1rem;
    }
    
    .actions-content h3 {
        font-size: 1.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .orders-header h3 {
        font-size: 1.75rem;
    }
    
    .orders-filter {
        justify-content: center;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .order-card {
        padding: 2rem;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-view, .btn-cancel {
        width: 100%;
    }
    
    .registration-card {
        padding: 2.5rem;
    }
    
    .card-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .dashboard-header .logo h1 {
        font-size: 1.5rem;
    }
    
    .dashboard-header .logo p {
        font-size: 0.8rem;
    }
    
    .welcome-content h2 {
        font-size: 1.75rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
    
    .actions-content h3 {
        font-size: 1.5rem;
    }
    
    .orders-header h3 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .empty-orders {
        padding: 3rem 1.5rem;
    }
    
    .empty-icon {
        font-size: 4rem;
    }
    
    .empty-orders h4 {
        font-size: 1.5rem;
    }
}

/* Enhanced Animations and Micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Enhanced Focus States */
.btn-register:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-view:focus,
.btn-cancel:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

/* Enhanced Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Hover Effects */
.order-card:hover .order-status {
    transform: scale(1.05);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefits-card li:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
