/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 20px;
}

.login-card, .login-form {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo .logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    position: relative;
}

.house-icon {
    width: 100%;
    height: 100%;
    position: relative;
}

.roof {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 25px solid #4CAF50;
    margin: 0 auto;
}

.base {
    width: 50px;
    height: 35px;
    background-color: #2196F3;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
}

.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2196F3;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Product Popup Modal */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    background: #000;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popup-close:hover {
    background: #333;
}

.popup-instruction {
    margin-bottom: 25px;
}

.popup-instruction h3 {
    color: #333;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.popup-image-container {
    margin-top: 20px;
    text-align: center;
}

.popup-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.remember-me input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #2196F3;
    transform: scale(1.1);
    border-radius: 3px;
    border: 2px solid #ddd;
    background-color: #fff;
    transition: all 0.2s ease;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #2196F3;
    border-color: #2196F3;
}

.remember-me input[type="checkbox"]:hover {
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.remember-me:hover {
    color: #333;
}

.remember-me:focus-within {
    color: #2196F3;
}

.login-btn {
    width: 100%;
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #1976D2;
}

.terms {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.contact {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.contact a {
    color: #2196F3;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background-color: #ffffff;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    background: white;
}

.welcome-section h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-link.active,
.nav-link:hover {
    color: #2196F3;
    border-bottom-color: #2196F3;
}

.logout-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.logout-btn:hover {
    background-color: #45a049;
}



.dashboard-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
    padding: 24px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding-right: 10px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding-left: 10px;
}

.subscriptions-section h3,
.resources-section h3,
.notifications-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.button-container {
    width: 100%;
    margin-bottom: 20px;
}

.reload-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

.subscription-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
    width: 100%;
}

.subscription-card::after {
    content: "Click on the Digi store Extension and Click Start";
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subscription-card:hover::after {
    opacity: 1;
}

.subscription-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #2196F3;
}

.subscription-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 8px 12px 4px 12px;
}

.card-header h4 {
    font-size: 16px;
    color: #333;
}

.days-badge {
    background-color: #666;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.subscription-type {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.subscription-details {
    margin-bottom: 10px;
}

.card-content {
    padding: 8px 12px;
}

.subscription-details p {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.click-me {
    font-size: 14px;
    color: #2196F3;
    cursor: pointer;
}

.settings-icon {
    font-size: 16px;
    cursor: pointer;
}

.udemy-logo,
.product-logo {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #7B2CBF;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* Multiple subscription cards */
#subscriptionsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.no-subscriptions {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Expired subscription styling */
.days-badge.expired {
    background-color: #f44336;
    color: white;
}

.subscription-card.expired {
    opacity: 0.7;
    border-color: #f44336;
}

.subscription-card.expired .card-header h4 {
    color: #f44336;
}

/* Countdown timer styles */
.countdown-section {
    padding: 6px 12px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.countdown-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.countdown-btn:hover {
    background-color: #1976D2;
    transform: scale(1.1);
}

.days-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: #4CAF50;
    color: white;
}

.days-badge.expired {
    background-color: #f44336;
    color: white;
}

.days-badge.warning {
    background-color: #ff9800;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.how-to-use {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.how-to-use h4 {
    margin-bottom: 15px;
    color: #333;
}

.how-to-use p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.watch-video-btn,
.download-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.watch-video-btn:hover,
.download-btn:hover {
    background-color: #1976D2;
}

.download-section {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.download-section h4 {
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-tag {
    background-color: #ff4444;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.download-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.notifications-section {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.notifications-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-count {
    background-color: #2196F3;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.notifications-content {
    text-align: center;
    padding: 40px 20px;
}

.bell-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.notifications-content p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-nav {
        justify-content: center;
    }
    
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }
    
    .dashboard-header {
        padding: 20px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
}

/* Admin Dashboard Styles */
.dashboard-container.admin-dashboard .dashboard-content {
    display: block;
    grid-template-columns: none;
    max-width: none;
    width: 100%;
    padding: 20px;
}

.dashboard-container.admin-dashboard .admin-section {
    width: 100%;
    max-width: none;
}

.dashboard-container.admin-dashboard .section-header {
    width: 100%;
}

.dashboard-container.admin-dashboard .users-table {
    width: 100%;
}

.back-to-user {
    text-align: center;
    margin-top: 20px;
}

.back-to-user a {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
}

.back-to-user a:hover {
    text-decoration: underline;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 24px;
    color: #333;
}

.add-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.add-btn:hover {
    background-color: #45a049;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.export-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.export-btn:hover {
    background-color: #1976D2;
}

.import-btn {
    background-color: #FF9800;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.import-btn:hover {
    background-color: #F57C00;
}

.users-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.users-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.users-table tr:hover {
    background-color: #f8f9fa;
}

.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status.active {
    background-color: #d4edda;
    color: #155724;
}

.status.expired {
    background-color: #f8d7da;
    color: #721c24;
}

.status.mixed {
    background-color: #fff3cd;
    color: #856404;
}

.status.no-products {
    background-color: #e2e3e5;
    color: #383d41;
}

.status.no-dates {
    background-color: #f8d7da;
    color: #721c24;
}

.edit-btn,
.delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.edit-btn {
    background-color: #2196F3;
    color: white;
}

.edit-btn:hover {
    background-color: #1976D2;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.test-btn {
    background-color: #ff9800;
    color: white;
}

.test-btn:hover {
    background-color: #f57c00;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-header h4 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.product-type {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-cookies {
    margin-bottom: 15px;
}

.product-cookies pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    overflow-x: auto;
    margin-top: 5px;
}

/* New cookie display styles */
.cookies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-cookies-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.toggle-cookies-btn:hover {
    background-color: #0056b3;
}

.cookies-content {
    margin-top: 10px;
}

.cookies-textarea {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    resize: vertical;
    margin-bottom: 8px;
}

.copy-cookies-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-cookies-btn:hover {
    background-color: #218838;
}

/* ===== LANDING PAGE STYLES ===== */

/* Landing Page Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #4a4a4a;
    margin: 0;
    letter-spacing: -0.5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav .nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
    color: #8B5CF6;
}

.login-btn {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: #4a4a4a;
    border: 2px solid #4a4a4a;
}

.cta-btn.secondary:hover {
    background: #4a4a4a;
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card-landing {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.product-card-landing:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.price-currency {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #8B5CF6;
}

.product-features {
    margin-bottom: 25px;
}

.feature-item {
    color: #28a745;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-btn {
    width: 100%;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.about-text p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 10px;
}

.stat-label {
    color: #6c757d;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-details p {
    color: #6c757d;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8B5CF6;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #8B5CF6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B5CF6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B5CF6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Admin Landing Products Styles */
.landing-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.landing-product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.landing-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.landing-product-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f8f9fa;
}

.landing-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.landing-product-badge.active {
    background: #28a745;
    color: white;
}

.landing-product-badge.inactive {
    background: #dc3545;
    color: white;
}

.landing-product-content {
    padding: 15px;
}

.landing-product-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.landing-product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.landing-product-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 8px;
}

.landing-product-category {
    font-size: 0.8rem;
    color: #ff6b9d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-product-actions {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.landing-product-actions .edit-btn,
.landing-product-actions .delete-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-product-actions .edit-btn {
    background: #007bff;
    color: white;
}

.landing-product-actions .edit-btn:hover {
    background: #0056b3;
}

.landing-product-actions .delete-btn {
    background: #dc3545;
    color: white;
}

.landing-product-actions .delete-btn:hover {
    background: #c82333;
}

.preview-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-btn:hover {
    background: #138496;
}

/* Loading and Error States */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.no-products,
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-products-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .header-nav .nav-link {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.product-actions {
    display: flex;
    gap: 10px;
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.analytics-card h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.analytics-number {
    font-size: 32px;
    font-weight: bold;
    color: #2196F3;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.modal form {
    padding: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cancel-btn {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-btn:hover {
    background-color: #e0e0e0;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn:hover {
    background-color: #45a049;
}

/* Form Help Text */
.form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Multi-select dropdown styles */
select[multiple] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    min-height: 100px;
    max-height: 150px;
    overflow-y: auto;
}

select[multiple]:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

select[multiple] option {
    padding: 8px 12px;
    background-color: white;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

select[multiple] option:hover {
    background-color: #f0f8ff;
}

select[multiple] option:checked {
    background-color: #2196F3;
    color: white;
    font-weight: 500;
}

select[multiple] option:checked:hover {
    background-color: #1976D2;
}

/* Selection count indicator */
.selection-count {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Products checkboxes */
.products-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background-color: #f9f9f9;
}

.product-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
}

.product-checkbox-item:hover {
    background-color: #f0f8ff;
    border-color: #2196F3;
}

.product-checkbox-item.checked {
    background-color: #e3f2fd;
    border-color: #2196F3;
}

.product-checkbox-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.product-checkbox-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-size: 14px;
}

.product-checkbox-item .product-type {
    font-size: 12px;
    color: #666;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 12px;
}

.product-checkbox-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.product-expiration-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.expiration-label {
    font-size: 12px;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

.product-expiration-date {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background-color: white;
    cursor: pointer;
    min-width: 120px;
}

.product-expiration-date:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.product-expiration-date:enabled {
    border-color: #2196F3;
}

.product-expiration-date:enabled:focus {
    outline: none;
    border-color: #1976D2;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.product-checkbox-item.checked .product-expiration-section {
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin: 8px -8px -8px -8px;
}

/* Notification Styles */
.notifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.notification-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8B5CF6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.notification-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 10px;
}

.notification-type.info {
    background: #e3f2fd;
    color: #1976d2;
}

.notification-type.warning {
    background: #fff3e0;
    color: #f57c00;
}

.notification-type.success {
    background: #e8f5e8;
    color: #2e7d32;
}

.notification-type.error {
    background: #ffebee;
    color: #c62828;
}

.notification-message {
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.notification-date {
    color: #6c757d;
}

.notification-status {
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notification-status.active {
    background: #e8f5e8;
    color: #2e7d32;
}

.notification-status.inactive {
    background: #f5f5f5;
    color: #6c757d;
}

.notification-actions {
    display: flex;
    gap: 10px;
}

.notification-actions .edit-btn,
.notification-actions .delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-actions .edit-btn {
    background: #8B5CF6;
    color: white;
}

.notification-actions .edit-btn:hover {
    background: #7c3aed;
}

.notification-actions .delete-btn {
    background: #ef4444;
    color: white;
}

.notification-actions .delete-btn:hover {
    background: #dc2626;
}

/* User Dashboard Notification Styles - Compact like old alerts */
.notifications-section {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 4px;
    position: relative;
    background-color: #f0f8ff;
    border-left: 4px solid #8B5CF6;
}

.notification-item.info {
    background-color: #e3f2fd;
    border-left-color: #3B82F6;
}

.notification-item.warning {
    background-color: #fff3e0;
    border-left-color: #F59E0B;
}

.notification-item.success {
    background-color: #e8f5e8;
    border-left-color: #10B981;
}

.notification-item.error {
    background-color: #ffebee;
    border-left-color: #EF4444;
}

.notification-icon {
    margin-right: 10px;
    font-size: 16px;
}

.notification-content {
    flex: 1;
}

.notification-content .notification-title {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.notification-item.warning {
    border-left-color: #F59E0B;
}

.notification-item.success {
    border-left-color: #10B981;
}

.notification-item.error {
    border-left-color: #EF4444;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content .notification-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.notification-content .notification-message {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.notification-content .notification-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .users-table {
        overflow-x: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .analytics-cards {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .edit-btn,
    .delete-btn {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* Profile Page Styles */
.profile-container {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px;
    min-height: calc(100vh - 120px);
    background: #f8fafc;
}

.profile-section,
.password-section {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.profile-section:hover,
.password-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-section h3,
.password-section h3 {
    color: #1a202c;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.profile-form,
.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.profile-form .form-group,
.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-form label,
.password-form label {
    font-weight: 500;
    color: #374151;
    font-size: 13px;
    margin-bottom: 2px;
}

.profile-form input,
.password-form input {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.15s ease;
    background: #ffffff;
    color: #111827;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
}

.profile-form input:focus,
.password-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.profile-form input:hover,
.password-form input:hover {
    border-color: #9ca3af;
}

.profile-form input[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.profile-form input[readonly]:hover {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

.save-btn,
.change-password-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: auto;
    width: 100%;
    text-transform: none;
    letter-spacing: normal;
    align-self: flex-end;
}

.save-btn:hover,
.change-password-btn:hover {
    background: #2980b9;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.save-btn:active,
.change-password-btn:active {
    background: #2980b9;
    transform: translateY(0);
}

/* Responsive Design for Profile Page */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .profile-section,
    .password-section {
        padding: 20px;
    }
    
    .profile-section h3,
    .password-section h3 {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .profile-form,
    .password-form {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 12px;
        gap: 12px;
    }
    
    .profile-section,
    .password-section {
        padding: 16px;
    }
    
    .profile-section h3,
    .password-section h3 {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .profile-form,
    .password-form {
        gap: 12px;
    }
    
    .profile-form input,
    .password-form input {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .save-btn,
    .change-password-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Page Navigation Styles */
.page-content {
    width: 100%;
    display: block;
}

#homePage .page-content {
    display: block;
}

.nav-link.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

.nav-link {
    color: #7f8c8d;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #3498db;
    border-bottom-color: #3498db;
}
