.kud-dashboard-container {
    max-width: 1280px;
    margin: 40px auto;
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #334155;
    min-height: 800px;
    display: flex;
    flex-direction: column
}

.kud-dashboard-container * {
    box-sizing: border-box
}

.kud-profile-alert {
    background: #fff7ed;
    border-left: 5px solid #f97316;
    padding: 16px 24px;
    margin: 20px 20px 0 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05)
}

.kud-profile-alert i {
    margin-right: 15px;
    color: #f97316;
    font-size: 20px
}

.kud-profile-alert strong {
    display: block;
    color: #9a3412;
    font-size: 16px;
    margin-bottom: 2px
}

.kud-profile-alert span {
    color: #c2410c;
    font-size: 14px
}

.kud-profile-alert .btn-complete-profile {
    background: #f97316;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap
}

.kud-profile-alert .btn-complete-profile:hover {
    background: #ea580c
}

.kud-top-bar {
    background: #fff;
    border: 1px solid #e2e8f0
}

.kud-top-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0
}

.kud-stat-pill {
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    min-width: 120px;
    text-align: center
}

.kud-dashboard-body-container {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-height: 600px;
    border: 1px solid #e2e8f0
}

.kud-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 20px 0;
    display: flex;
    flex-direction: column
}

.kud-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px
}

.kud-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease
}

.kud-nav-item i {
    width: 24px;
    margin-right: 12px;
    text-align: center;
    font-size: 16px;
    transition: transform 0.2s
}

.kud-nav-item:hover {
    background: #f1f5f9;
    color: #334155
}

.kud-nav-item:hover i {
    transform: translateX(2px);
    color: #3b82f6
}

.kud-nav-item.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600
}

.kud-nav-item.active i {
    color: #2563eb
}

.kud-nav-item.kud-logout {
    margin-top: auto;
    margin-top: 20px;
    color: #ef4444
}

.kud-nav-item.kud-logout:hover {
    background: #fef2f2;
    color: #dc2626
}

.kud-content-area {
    flex: 1;
    padding: 40px;
    background: #ffffff;
    overflow-y: auto
}

.kud-profile-section h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 8px;
    border-bottom: none
}

.section-desc {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 15px
}

.kud-profile-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-width: 900px
}

.kud-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.kud-form-group {
    display: flex;
    flex-direction: column
}

.kud-form-group.full-width {
    grid-column: 1/-1
}

.kud-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em
}

.kud-form-group input,
.kud-form-group select,
.kud-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%
}

.kud-form-group input:focus,
.kud-form-group select:focus,
.kud-form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1)
}

.kud-form-group input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed
}

.badge-read-only {
    display: inline-block;
    background: #e2e8f0;
    color: #64748b;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle
}

.kud-hybrid-selector {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 20px;
    border-radius: 8px
}

.kud-hybrid-selector .kud-card-tag {
    background: #fff;
    border: 1px solid #7dd3fc;
    color: #0284c7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
}

.kud-hybrid-selector .remove-card {
    cursor: pointer;
    font-size: 16px;
    line-height: 0.8;
    color: #0ea5e9;
    opacity: 0.7
}

.kud-hybrid-selector .remove-card:hover {
    opacity: 1;
    color: #ef4444
}

.btn-save {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    float: right
}

.btn-save:hover {
    background: #1d4ed8
}

.kud-overview-hero {
    margin-bottom: 40px
}

.kud-overview-hero h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700
}

.kud-overview-hero p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px
}

.kud-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px
}

.kud-quick-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block
}

.kud-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1
}

.kud-quick-card .icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px
}

.kud-quick-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #1e293b
}

.kud-quick-card p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5
}

@media(max-width:991px) {
    .kud-dashboard-container {
        margin: 20px 10px;
        min-height: auto
    }

    .kud-top-bar {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .kud-stats-block {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px
    }

    .kud-sidebar {
        width: 240px
    }

    .kud-content-area {
        padding: 24px
    }
}

@media(max-width:768px) {
    .kud-dashboard-body-container {
        flex-direction: column
    }

    .kud-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0
    }

    .kud-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 10px 15px;
        gap: 10px;
        overflow: visible
    }

    .kud-nav-item {
        white-space: normal;
        padding: 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center
    }

    .kud-nav-item i {
        margin-right: 8px
    }

    .kud-nav-item.active {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb
    }

    .kud-nav-item.active i {
        color: #fff
    }

    .kud-nav-item.kud-logout {
        margin: 0;
        grid-column: 1/-1;
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fee2e2
    }

    .kud-profile-alert {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left
    }

    .kud-profile-alert>div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%
    }

    .kud-profile-alert .btn-complete-profile {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 5px
    }

    .kud-content-area {
        padding: 20px 15px
    }

    .kud-form-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .kud-greeting-block {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 15px;
        margin-bottom: 5px
    }

    .kud-stats-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .kud-stat-pill {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .kud-hybrid-selector>div {
        flex-direction: column
    }

    .kud-hybrid-selector select,
    .kud-hybrid-selector button {
        width: 100%;
        flex: none
    }
}