/* =========================================================
   PARTICIPANT ADD
   ========================================================= */

.participant-add-page {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.participant-add-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #8a94a6;
}

.participant-add-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.participant-add-breadcrumb a:hover {
    text-decoration: underline;
}

.participant-add-breadcrumb span {
    color: #9ca3af;
}


/* =========================================================
   HERO
   ========================================================= */

.participant-add-hero {
    width: 100%;
    min-height: 145px;
    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            #071a38 0%,
            #0b2855 55%,
            #123c76 100%
        );

    border-radius: 16px;

    padding: 28px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;

    box-shadow:
        0 12px 30px rgba(7, 26, 56, 0.16);

    color: #ffffff;
}

.participant-add-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: #73a9ff;

    margin-bottom: 8px;
}

.participant-add-hero h1 {
    margin: 0;

    font-size: 26px;
    line-height: 1.25;

    font-weight: 750;

    color: #ffffff;
}

.participant-add-hero p {
    margin: 8px 0 0;

    font-size: 14px;
    line-height: 1.6;

    color: rgba(255,255,255,0.72);
}

.participant-add-hero p strong {
    color: #ffffff;
}


/* =========================================================
   HERO STATUS
   ========================================================= */

.participant-add-hero-status {
    min-width: 145px;

    padding: 14px 17px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    text-align: right;

    backdrop-filter: blur(8px);
}

.participant-add-status-label {
    display: block;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;

    color: rgba(255,255,255,.55);

    margin-bottom: 5px;
}

.participant-add-hero-status strong {
    display: block;

    font-size: 14px;

    color: #ffffff;
}


/* =========================================================
   ALERT
   ========================================================= */

.participant-add-alert {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 16px 18px;

    border-radius: 12px;

    margin-bottom: 20px;

    box-sizing: border-box;
}

.participant-add-alert-error {
    background: #fff5f5;

    border: 1px solid #fecaca;

    color: #991b1b;
}

.participant-add-alert-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dc2626;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}

.participant-add-alert strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
}

.participant-add-alert ul {
    margin: 0;
    padding-left: 18px;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.participant-add-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    gap: 20px;

    align-items: start;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.participant-add-card {
    background: #ffffff;

    border: 1px solid #e6ebf2;

    border-radius: 15px;

    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.05);

    overflow: hidden;
}

.participant-add-card-header {
    padding: 25px 27px 20px;

    border-bottom: 1px solid #edf0f5;
}

.participant-add-card-eyebrow {
    display: block;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #2563eb;

    text-transform: uppercase;

    margin-bottom: 6px;
}

.participant-add-card-header h2 {
    margin: 0;

    color: #172033;

    font-size: 20px;

    font-weight: 750;
}

.participant-add-card-header p {
    margin: 7px 0 0;

    color: #7a8495;

    font-size: 13px;
}


/* =========================================================
   FORM
   ========================================================= */

.participant-add-card form {
    padding: 26px 27px 27px;
}

.participant-add-form-group {
    margin-bottom: 22px;
}

.participant-add-form-group label {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 8px;

    color: #263246;

    font-size: 13px;

    font-weight: 700;
}

.participant-add-form-group label > span:not(.optional) {
    color: #ef4444;
}

.participant-add-form-group label .optional {
    color: #9aa4b2;

    font-size: 11px;

    font-weight: 500;
}

.participant-add-form-group input {
    display: block;

    width: 100%;

    height: 46px;

    box-sizing: border-box;

    padding: 0 14px;

    border: 1px solid #d9e0e9;

    border-radius: 9px;

    background: #ffffff;

    color: #1f2937;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.participant-add-form-group input::placeholder {
    color: #a5adba;
}

.participant-add-form-group input:hover {
    border-color: #b9c4d3;
}

.participant-add-form-group input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);

    background: #ffffff;
}

.participant-add-form-group small {
    display: block;

    margin-top: 7px;

    color: #8a94a6;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   ACTION
   ========================================================= */

.participant-add-form-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 10px;

    padding-top: 8px;

    border-top: 1px solid #edf0f5;

    margin-top: 7px;

    padding-top: 20px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.participant-add-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    box-sizing: border-box;

    border-radius: 8px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    border: 1px solid transparent;

    transition:
        .18s ease;
}

.participant-add-btn-primary {
    background: #2563eb;

    color: #ffffff;

    border-color: #2563eb;

    box-shadow:
        0 5px 12px rgba(37, 99, 235, .16);
}

.participant-add-btn-primary:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;

    transform: translateY(-1px);
}

.participant-add-btn-secondary {
    background: #ffffff;

    color: #475569;

    border-color: #d7dee8;
}

.participant-add-btn-secondary:hover {
    background: #f8fafc;

    border-color: #c4cedb;
}

.participant-add-btn:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   SIDE CARD
   ========================================================= */

.participant-add-side-card {
    background: #ffffff;

    border: 1px solid #e6ebf2;

    border-radius: 15px;

    padding: 23px;

    box-sizing: border-box;

    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.05);
}

.participant-add-side-icon {
    width: 34px;
    height: 34px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eff6ff;

    color: #2563eb;

    font-size: 15px;

    font-weight: 800;

    margin-bottom: 14px;
}

.participant-add-side-card h3 {
    margin: 0 0 18px;

    color: #172033;

    font-size: 16px;

    font-weight: 750;
}


/* =========================================================
   INFO ITEM
   ========================================================= */

.participant-add-info-item {
    padding: 12px 0;

    border-bottom: 1px solid #edf0f5;
}

.participant-add-info-item span {
    display: block;

    margin-bottom: 5px;

    color: #8b95a5;

    font-size: 11px;

    font-weight: 600;
}

.participant-add-info-item strong {
    display: block;

    color: #273348;

    font-size: 13px;

    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   NOTE
   ========================================================= */

.participant-add-info-note {
    margin-top: 17px;

    padding: 14px;

    border-radius: 10px;

    background: #f8fafc;

    border: 1px solid #edf0f5;
}

.participant-add-info-note strong {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 12px;
}

.participant-add-info-note p {
    margin: 0 0 7px;

    color: #7b8493;

    font-size: 11px;

    line-height: 1.6;
}

.participant-add-info-note p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.participant-add-success-card {
    display: flex;

    align-items: flex-start;

    gap: 22px;

    background: #ffffff;

    border: 1px solid #dbe7f5;

    border-radius: 15px;

    padding: 30px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .06);
}

.participant-add-success-icon {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dcfce7;

    color: #16a34a;

    font-size: 25px;

    font-weight: 800;
}

.participant-add-success-label {
    display: block;

    margin-bottom: 5px;

    color: #16a34a;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.participant-add-success-content h2 {
    margin: 0;

    color: #172033;

    font-size: 22px;
}

.participant-add-success-content > p {
    margin: 8px 0 20px;

    color: #687386;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   PARTICIPANT CODE
   ========================================================= */

.participant-add-code-box {
    display: inline-flex;

    flex-direction: column;

    min-width: 210px;

    padding: 14px 18px;

    background: #f8fbff;

    border: 1px solid #dbeafe;

    border-radius: 10px;

    margin-bottom: 22px;
}

.participant-add-code-box span {
    color: #6b7280;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;

    margin-bottom: 5px;
}

.participant-add-code-box strong {
    color: #1d4ed8;

    font-size: 21px;

    letter-spacing: 1.5px;
}


/* =========================================================
   SUCCESS ACTION
   ========================================================= */

.participant-add-success-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .participant-add-layout {
        grid-template-columns: 1fr;
    }

    .participant-add-side-card {
        width: 100%;
    }

}


@media (max-width: 700px) {

    .participant-add-hero {
        padding: 23px;

        flex-direction: column;

        align-items: flex-start;
    }

    .participant-add-hero-status {
        width: 100%;

        box-sizing: border-box;

        text-align: left;
    }

    .participant-add-card form {
        padding: 22px;
    }

    .participant-add-form-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .participant-add-btn {
        width: 100%;
    }

    .participant-add-success-card {
        flex-direction: column;

        padding: 23px;
    }

    .participant-add-success-actions {
        flex-direction: column;

        align-items: stretch;
    }

}