* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
} */

/* Breadcrumb */
.profilebreadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 14px;
}

.profilebreadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

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

/* Account Container */
.account-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Sidebar Navigation */
.account-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.account-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    background-color: #f8f9fa;
    color: #4a90e2;
}

.nav-item.active {
    background-color: #f0f7ff;
    border-left-color: #4a90e2;
    color: #4a90e2;
    font-weight: 600;
}

.nav-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Main Content */
.account-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Message */
.welcome-message {
    margin-bottom: 20px;
}

.welcome-message p {
    font-size: 16px;
    color: #555;
}

.welcome-message strong {
    color: #333;
}

.welcome-message a {
    color: #4a90e2;
    text-decoration: none;
}

.welcome-message a:hover {
    text-decoration: underline;
}

.dashboard-intro {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.dashboard-intro a {
    color: #4a90e2;
    text-decoration: none;
}

.dashboard-intro a:hover {
    text-decoration: underline;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dashboard-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dashboard-card:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    transform: translateY(-3px);
}

.card-icon {
    margin-bottom: 15px;
    color: #6b7280;
}

.dashboard-card:hover .card-icon {
    color: #4a90e2;
}

.dashboard-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
    margin: 0;
}

.dashboard-card:hover h3 {
    color: #4a90e2;
}

/* Content Sections */
.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.content-section p {
    color: #666;
    line-height: 1.8;
}

/* Account Form */
.account-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

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

.form-group input:focus {
    outline: none;
    border-color: #4a90e2;
}

.btn-save {
    padding: 12px 32px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-save:hover {
    background: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Horizontal Scrollable Sidebar on Mobile */
    .account-sidebar {
        position: static;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .account-nav {
        flex-direction: row;
        white-space: nowrap;
        min-width: min-content;
    }

    .nav-item {
        display: inline-block;
        padding: 12px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .nav-item.active {
        border-left: none;
        border-bottom-color: #4a90e2;
    }

    .nav-item:first-child,
    .nav-item:last-child {
        border-radius: 0;
    }

    .account-content {
        padding: 25px 20px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .dashboard-card {
        padding: 25px 15px;
    }

    .card-icon svg {
        width: 36px;
        height: 36px;
    }

    .dashboard-card h3 {
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-section h2 {
        font-size: 20px;
    }
}

