/* Pagina publica "Elevi" si modulul de cerere adeverinte */

.public-modules-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    justify-content: center;
    margin-bottom: 28px;
}

.public-module-card {
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.public-module-card:hover,
.public-module-card:focus-visible {
    box-shadow: 0 18px 36px rgba(23, 32, 51, 0.12);
    transform: translateY(-2px);
}

.public-status-lookup {
    margin: 0 auto;
    max-width: 560px;
    text-align: center;
}

.public-status-lookup__form {
    align-items: stretch;
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.public-status-lookup__form input {
    background: #f8fafc;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    flex: 1;
    font-size: 1rem;
    min-height: 48px;
    padding: 0 14px;
    text-align: center;
    text-transform: uppercase;
}

.public-form-error {
    color: #b42318;
    font-weight: 700;
    margin-top: 10px;
}

/* Wizard cerere adeverinta */

.public-wizard-shell {
    margin: 0 auto;
    max-width: 640px;
}

.public-step-indicator {
    color: #607086;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    text-align: center;
    text-transform: uppercase;
}

.public-wizard-identity {
    background: #eef4ff;
    border-radius: 8px;
    color: #172033;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 12px 16px;
    text-align: center;
}

.public-form-big-field {
    margin-bottom: 18px;
}

.public-form-big-field label {
    color: #172033;
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.public-form-big-field input,
.public-form-big-field select {
    background: #f8fafc;
    border: 2px solid #cfd8e3;
    border-radius: 10px;
    font-size: 1.1rem;
    min-height: 54px;
    padding: 0 16px;
    width: 100%;
}

.public-form-big-field input:focus,
.public-form-big-field select:focus {
    border-color: #2764c9;
    box-shadow: 0 0 0 3px rgba(39, 100, 201, 0.16);
    outline: 0;
}

.public-clasa-picker {
    position: relative;
}

.public-clasa-results {
    background: #ffffff;
    border: 2px solid #2764c9;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(23, 32, 51, 0.14);
    left: 0;
    list-style: none;
    margin: 6px 0 0;
    max-height: calc(3 * 52px);
    overflow-y: auto;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
}

.public-clasa-results li {
    margin: 0;
}

.public-clasa-results li + li {
    margin-top: 4px;
}

.public-clasa-results button {
    background: none;
    border: 0;
    border-radius: 8px;
    color: #172033;
    cursor: pointer;
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 14px;
    text-align: left;
    width: 100%;
}

.public-clasa-results button:hover,
.public-clasa-results button:focus-visible {
    background: #eef4ff;
}

.public-clasa-results__empty {
    color: #5b6778;
    font-size: 0.95rem;
    padding: 10px 14px;
}

.public-choice-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.public-choice-card {
    align-items: center;
    background: #ffffff;
    border: 2px solid #dce3eb;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.public-choice-card:hover {
    border-color: #9db6e0;
}

.public-choice-card input[type='radio'] {
    accent-color: #2764c9;
    flex-shrink: 0;
    height: 22px;
    width: 22px;
}

.public-choice-card:has(input:checked) {
    background: #eef4ff;
    border-color: #2764c9;
}

.public-choice-card .admin-icon {
    color: #2764c9;
    font-size: 1.6rem;
}

.public-choice-card__label {
    font-size: 1.05rem;
    font-weight: 700;
}

.public-choice-card__hint {
    color: #5b6778;
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 2px;
}

.public-choice-other {
    margin-top: -4px;
}

.public-wizard-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.public-wizard-actions .public-btn {
    font-size: 1.1rem;
    min-height: 54px;
    padding: 0 28px;
}

.public-summary-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.public-summary-list li {
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 12px;
}

.public-summary-list dt {
    color: #607086;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.public-summary-list dd {
    color: #172033;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 4px 0 0;
}

.public-cod-box {
    background: #eef4ff;
    border: 2px dashed #2764c9;
    border-radius: 12px;
    margin: 18px 0;
    padding: 22px;
    text-align: center;
}

.public-cod-box__cod {
    color: #2764c9;
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.public-status-badge {
    border-radius: 999px;
    display: inline-block;
    font-weight: 800;
    padding: 8px 18px;
}

.public-status-badge--pending {
    background: #fef3e0;
    color: #92620a;
}

.public-status-badge--approved {
    background: #eaf6f3;
    color: #24584a;
}

.public-status-badge--rejected {
    background: #fde8e6;
    color: #b42318;
}

@media (max-width: 640px) {
    .public-status-lookup__form {
        flex-direction: column;
    }
}
