/*
=================================================
DC Core Booster Fase 1
=================================================
*/

.dc-cb1-page {
    padding: 42px 18px 60px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .06), transparent 34%),
        #f3f6fb;
}

.dc-cb1-form-layout,
.dc-cb1-cases-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.dc-cb1-hero,
.dc-cb1-cases-hero,
.dc-cb1-card,
.dc-cb1-auth-card,
.dc-cb1-case-card,
.dc-cb1-empty {
    border: 1px solid #d8e4f5;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.dc-cb1-hero,
.dc-cb1-cases-hero {
    position: sticky;
    top: 88px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .14), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 58%, #eff6ff 100%);
}

.dc-cb1-badge {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.dc-cb1-hero h1,
.dc-cb1-cases-hero h1 {
    margin: 16px 0 10px;
    color: #071225;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -1.2px;
    font-weight: 950;
}

.dc-cb1-hero p,
.dc-cb1-cases-hero p {
    color: #53657d;
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

.dc-cb1-steps,
.dc-cb1-case-stats {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.dc-cb1-steps div,
.dc-cb1-case-stats div {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    border: 1px solid #d9e6f7;
}

.dc-cb1-steps strong,
.dc-cb1-case-stats strong {
    display: block;
    color: #071225;
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
}

.dc-cb1-steps span,
.dc-cb1-case-stats span {
    display: block;
    margin-top: 5px;
    color: #53657d;
    font-size: 11px;
    font-weight: 800;
}

.dc-cb1-card,
.dc-cb1-auth-card {
    padding: 26px;
}

.dc-cb1-card-header {
    margin-bottom: 18px;
}

.dc-cb1-card-header h2,
.dc-cb1-auth-card h1 {
    margin: 12px 0 6px;
    color: #071225;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.9px;
    font-weight: 950;
}

.dc-cb1-card-header p,
.dc-cb1-auth-card p {
    color: #53657d;
    line-height: 1.55;
    font-size: 13px;
    margin: 0;
}

.dc-cb1-form {
    display: grid;
    gap: 14px;
}

.dc-cb1-form label {
    display: grid;
    gap: 7px;
}

.dc-cb1-form label span {
    color: #071225;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 950;
}

.dc-cb1-form input,
.dc-cb1-form select,
.dc-cb1-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd8ea;
    border-radius: 13px;
    background: #ffffff;
    color: #071225;
    font-size: 13px;
    outline: none;
    box-shadow: none;
}

.dc-cb1-form textarea {
    resize: vertical;
}

.dc-cb1-form input:focus,
.dc-cb1-form select:focus,
.dc-cb1-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.dc-cb1-alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 12px;
    font-weight: 900;
    font-size: 13px;
}

.dc-cb1-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #a7f3d0;
}

.dc-cb1-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.dc-cb1-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.dc-cb1-primary,
.dc-cb1-secondary {
    width: auto;
    min-width: 150px;
    max-width: 230px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
}

.dc-cb1-primary {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff !important;
}

.dc-cb1-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.dc-cb1-secondary {
    border: 1px solid #cbd8ea;
    background: #ffffff;
    color: #0f172a !important;
}

.dc-cb1-secondary:hover {
    background: #f8fafc;
    color: #1d4ed8 !important;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.dc-cb1-cases-main {
    min-width: 0;
}

.dc-cb1-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dc-cb1-case-card {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.dc-cb1-case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.dc-cb1-status,
.dc-cb1-case-top em {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    font-style: normal;
}

.dc-cb1-status {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.dc-cb1-case-top em {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dc-cb1-case-card h3 {
    margin: 0;
    color: #071225;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -.4px;
    font-weight: 950;
}

.dc-cb1-case-card p {
    color: #53657d;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.dc-cb1-case-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.dc-cb1-case-meta div,
.dc-cb1-next {
    padding: 11px 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #dbe4ef;
}

.dc-cb1-case-meta span,
.dc-cb1-next span {
    display: block;
    color: #53657d;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.dc-cb1-case-meta strong,
.dc-cb1-next strong {
    display: block;
    margin-top: 4px;
    color: #071225;
    font-size: 12px;
    font-weight: 950;
}

.dc-cb1-empty {
    padding: 42px 22px;
    text-align: center;
}

.dc-cb1-empty h3 {
    margin: 14px 0 8px;
    color: #071225;
    font-size: 24px;
    font-weight: 950;
}

.dc-cb1-empty p {
    color: #53657d;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1120px) {
    .dc-cb1-form-layout,
    .dc-cb1-cases-shell {
        grid-template-columns: 1fr;
    }

    .dc-cb1-hero,
    .dc-cb1-cases-hero {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    .dc-cb1-page {
        padding: 22px 12px 42px;
    }

    .dc-cb1-card,
    .dc-cb1-auth-card,
    .dc-cb1-hero,
    .dc-cb1-cases-hero,
    .dc-cb1-case-card,
    .dc-cb1-empty {
        padding: 18px;
        border-radius: 20px;
    }

    .dc-cb1-grid,
    .dc-cb1-case-meta {
        grid-template-columns: 1fr;
    }

    .dc-cb1-actions {
        justify-content: stretch;
    }

    .dc-cb1-primary,
    .dc-cb1-secondary {
        width: 100%;
        max-width: 100%;
    }
}
