/* ===== BASE STYLES ===== */
:root {
    --primary: #1a4f8e;
    --primary-dark: #143b6d;
    --accent: #3a9dd8;
    --secondary: #46b7a6;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --border-radius: 12px;
    --shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--dark);
    padding: 18px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo i {
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: #3a9d8c;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text; /* Standard property */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Standard property */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

/* ===== FEATURES SECTION ===== */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.5rem;
    color: var(--dark);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid var(--primary);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    background: #dbeafe;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: white;
    padding: 60px 0;
    border-radius: var(--border-radius);
    margin: 60px 0;
    box-shadow: var(--shadow);
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 70px;
    right: 70px;
    height: 3px;
    background: var(--light-gray);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== FORM STYLES ===== */
.form-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 40px auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--primary);
    color: white;
    padding: 20px 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    margin-top: 20px;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    transition: var(--transition);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu i {
    width: 20px;
    margin-right: 10px;
}

.main-content {
    padding: 20px;
    background: #f5f7fa;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.data-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background: #f8fafc;
    font-weight: 600;
}

tr:hover {
    background: #f1f5f9;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-completed {
    background: #d1fae5;
    color: #059669;
}

.status-processing {
    background: #dbeafe;
    color: #2563eb;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically (if height allows) */
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    width: 100%; /* Ensure it takes full width */
    margin: 0 auto; /* Center the block itself if it has a max-width */
}

.copyright p {
    margin: 0; /* Remove default paragraph margin that might affect centering */
    display: block; /* Ensure it's a block element */
    text-align: center; /* Explicitly center text within the paragraph */
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps::before {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Pricing Section */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.pricing-plan {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-plan.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-plan.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-plan h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    display: block;
}

.plan-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.plan-features li i {
    margin-right: 10px;
    width: 20px;
}

.plan-features li i.fa-check {
    color: var(--secondary);
}

.plan-features li i.fa-times {
    color: var(--gray);
}

/* Responsive adjustments for pricing */
@media (max-width: 900px) {
    .pricing-plan.popular {
        transform: scale(1);
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-card.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-icon.included {
    background: #d1fae5;
    color: #059669;
}

.feature-icon.excluded {
    background: #fef3c7;
    color: #d97706;
}

.feature-text {
    flex: 1;
}

.pricing-button {
    margin-top: 25px;
}

.price-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive adjustments for pricing */
@media (max-width: 900px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .price-amount {
        font-size: 3rem;
    }
}

/* Auth Pages Specific Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    border: 1px solid #e2e8f0;
    margin: 20px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-header p {
    color: var(--gray);
    font-size: 16px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo img {
    height: 60px;
    width: auto;
}

.auth-animation {
    text-align: center;
    margin-bottom: 25px;
}

.auth-animation img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 79, 142, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    width: 18px;
    height: 18px;
}

.form-check label {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--gray);
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--gray);
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.social-btn i {
    font-size: 18px;
}

.social-btn.google i { color: #DB4437; }
.social-btn.facebook i { color: #4267B2; }
.social-btn.linkedin i { color: #0077B5; }

.password-toggle {
    position: relative;
}

.password-toggle .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Plan Selection Styles */
.plan-selector {
    margin-bottom: 25px;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.plan-option {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #fafafa;
}

.plan-option:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.plan-option.selected {
    border-color: var(--primary);
    background: #e6f0ff;
}

.plan-option h4 {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--dark);
}

.plan-option p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

/* Responsive adjustments for auth pages */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .plan-options {
        grid-template-columns: 1fr;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.5s ease-out;
}

.form-group {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.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; }

/* Auth Pages Specific Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 0;
}

.auth-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray);
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    height: 60px;
    width: auto;
}

.auth-animation {
    text-align: center;
    margin-bottom: 20px;
}

.auth-animation img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    width: auto;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.divider span {
    padding: 0 15px;
    color: var(--gray);
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    background: #f5f5f5;
}

.social-btn i {
    font-size: 18px;
}

.password-toggle {
    position: relative;
}

.password-toggle .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

/* Responsive adjustments for auth pages */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 80px 0;
    margin: 60px 0;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonial-container {
        grid-template-columns: 1fr;
    }
}


/* Service Pages */
.service-page {
    min-height: 100vh;
}

.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-content {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Resources Pages */
.resources-page {
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.blog-content {
    padding: 25px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Company Pages */
.company-page {
    min-height: 100vh;
}

.careers-content {
    padding: 60px 0;
}

.jobs-list {
    margin-top: 40px;
}

.job-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

/* Dashboard Specific Styles */
.dashboard {
    position: relative;
}

/* Notification Styles */
.notification-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.notification-panel.show {
    display: block;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.notification-item:hover {
    background-color: #f8fafc;
}

.notification-item.unread {
    background-color: #f0f9ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 5px 0;
    color: var(--dark);
    font-size: 0.9rem;
}

.notification-content p {
    margin: 0 0 5px 0;
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--gray);
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Chart Containers */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.quick-action-btn i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Activity Items */
.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 35px;
    height: 35px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--primary);
}

.activity-content p {
    margin: 0 0 5px 0;
    color: var(--dark);
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Stats Cards Animation */
.stat-card {
    transition: all 0.3s ease;
}

/* Theme Switching */
[data-theme="dark"] {
    --primary: #3a9dd8;
    --primary-dark: #2c7bb6;
    --light: #1e293b;
    --dark: #f8fafc;
    --gray: #cbd5e1;
    --light-gray: #374151;
}

/* Responsive Sidebar */
@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1000;
        height: 100vh;
        top: 0;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.refresh-btn.loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Validation Styles */
.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.valid {
    border-color: #059669 !important;
    background-color: #f0fdf4 !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef2f2;
    border-radius: 0.375rem;
    border-left: 3px solid #dc2626;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-password:hover {
    color: #2563eb;
}

/* Loading states */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-success {
    border-color: #059669;
    background-color: #f0fdf4;
}

/* Financial form specific styles */
.currency-input {
    position: relative;
}

.currency-input::before {
    content: '$';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 500;
}

.currency-input input {
    padding-left: 25px !important;
}

.percentage-input::after {
    content: '%';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 500;
}

/* Net worth calculator */
.net-worth-display {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Responsive form styles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .error-message {
        font-size: 0.8rem;
    }
}