.other-action-page,
.completion-page {
    --other-ink: #172033;
    --other-muted: #667085;
    --other-border: #d9e1ec;
    --other-soft: #f4f8fb;
    --other-primary: #0f766e;
    --other-primary-dark: #0b5f59;
    --other-danger: #b42318;
    max-width: 74rem;
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
    color: var(--other-ink);
}

.other-action-page,
.other-action-page *,
.completion-page,
.completion-page * {
    box-sizing: border-box;
}

.other-action-hero,
.completion-hero {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    color: #ffffff;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 55, 95, 0.98), rgba(15, 118, 110, 0.9)),
        url("../images/login-bg.png") center / cover no-repeat;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
}

.other-action-eyebrow,
.completion-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.55rem;
    margin-bottom: 0.4rem;
    color: #dffcf5;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(6, 95, 70, 0.32);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.other-action-hero h1,
.completion-hero h1 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 850;
}

.other-action-hero p,
.completion-hero p {
    max-width: 44rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.other-action-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    margin-top: 0.9rem;
}

.other-action-summary,
.other-action-panel,
.completion-card {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
}

.other-action-summary {
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem;
    position: sticky;
    top: 7.5rem;
}

.other-action-summary h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.other-action-summary p {
    margin: 0;
    color: var(--other-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.other-action-panel {
    overflow: hidden;
}

.other-action-form {
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem;
}

.other-action-fieldset {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem;
    border: 1px solid var(--other-border);
    border-radius: 8px;
    background: #ffffff;
}

.other-action-fieldset legend {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--other-ink);
    font-size: 0.96rem;
    font-weight: 850;
}

.other-action-fieldset p {
    margin: 0;
    color: var(--other-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.other-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.other-action-field {
    margin: 0;
}

.other-action-field label,
.other-action-form .form-label {
    margin-bottom: 0.28rem;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 800;
}

.other-action-form .form-control,
.other-action-form .form-select,
.other-action-form select.form-control {
    min-height: 2.55rem;
    color: var(--other-ink);
    border: 1px solid var(--other-border);
    border-radius: 8px;
    background: #fbfdff;
    font-size: 0.9rem;
}

.other-action-form textarea.form-control {
    min-height: 7rem;
}

.other-action-form .form-control:focus,
.other-action-form .form-select:focus,
.other-action-form select.form-control:focus {
    border-color: rgba(15, 118, 110, 0.58);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
}

.other-file-help,
.other-action-form .form-text {
    color: var(--other-muted);
    font-size: 0.72rem;
    font-weight: 650;
}

.other-action-alert {
    display: grid;
    gap: 0.15rem;
    margin: 0;
    border-radius: 8px;
    font-size: 0.82rem;
}

.other-action-alert.alert-danger {
    color: var(--other-danger);
    border: 1px solid #fecdc8;
    background: #fff4f2;
}

.other-action-alert.alert-success {
    color: #067647;
    border: 1px solid #abefc6;
    background: #ecfdf3;
}

.other-action-actions {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
}

.other-action-submit,
.completion-primary {
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    color: #ffffff;
    border: 1px solid var(--other-primary);
    border-radius: 8px;
    background: var(--other-primary);
    font-size: 0.86rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.other-action-submit:hover,
.other-action-submit:focus,
.completion-primary:hover,
.completion-primary:focus {
    color: #ffffff;
    border-color: var(--other-primary-dark);
    background: var(--other-primary-dark);
}

.other-action-secondary,
.completion-secondary {
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    color: #344054;
    border: 1px solid var(--other-border);
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 850;
}

.other-action-secondary:hover,
.other-action-secondary:focus,
.completion-secondary:hover,
.completion-secondary:focus {
    color: var(--other-primary-dark);
    border-color: rgba(15, 118, 110, 0.38);
    background: #f1fbf8;
}

.completion-page {
    max-width: 48rem;
}

.completion-card {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.9rem;
    padding: 1rem;
    text-align: center;
}

.completion-icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    place-items: center;
    color: #067647;
    border-radius: 999px;
    background: #ecfdf3;
    font-size: 1.5rem;
}

.completion-icon-danger {
    color: #b42318;
    background: #fff4f2;
}

.completion-icon-info {
    color: #155e75;
    background: #ecfeff;
}

.completion-card h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 850;
}

.completion-card p {
    margin: 0;
    color: var(--other-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.completion-detail {
    display: grid;
    gap: 0.25rem;
    max-width: 26rem;
    margin: 0 auto;
    padding: 0.75rem;
    border: 1px solid var(--other-border);
    border-radius: 8px;
    background: var(--other-soft);
}

.completion-detail span:first-child {
    color: var(--other-muted);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.completion-detail strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .other-action-page,
    .completion-page {
        padding: 0 0 2rem;
    }

    .other-action-hero,
    .completion-hero,
    .other-action-summary,
    .other-action-panel,
    .completion-card {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .other-action-layout {
        grid-template-columns: 1fr;
    }

    .other-action-summary {
        position: static;
    }

    .other-action-grid {
        grid-template-columns: 1fr;
    }

    .other-action-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
