* {
    box-sizing: border-box;
}

.radi-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.radi-login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.radi-login-header {
    background: #2c3e50;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.radi-header-badge {
    opacity: 0.85;
    font-size: 11px;
    font-weight: 500;
}

.radi-login-body {
    padding: 32px 28px 28px;
}

.radi-brand {
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.02em;
    user-select: none;
}

.radi-brand-r,
.radi-brand-di {
    font-weight: 800;
    color: #2c3e50;
}

.radi-brand-at {
    font-weight: 600;
    color: #3498db;
    margin: 0 1px;
}

.radi-subtitle {
    text-align: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #7f8c8d;
    margin: 0 0 28px;
}

.radi-field {
    position: relative;
    margin-bottom: 28px;
}

.radi-field i {
    position: absolute;
    left: 2px;
    bottom: 10px;
    color: #95a5a6;
    font-size: 15px;
    width: 18px;
    text-align: center;
    pointer-events: none;
    transition: color 0.25s ease;
    z-index: 1;
}

.radi-field input,
.radi-field select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    padding: 8px 8px 10px 32px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #2c3e50;
    outline: none;
    box-shadow: none;
    transition: border-color 0.25s ease;
}

.radi-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 24px;
}

.radi-field input::placeholder {
    color: #aab2bd;
    font-weight: 400;
}

.radi-field input:focus,
.radi-field select:focus {
    border-bottom-color: #3498db;
    box-shadow: none;
    outline: none;
}

.radi-field input:focus + i,
.radi-field:focus-within > i:not(.toggle-password) {
    color: #3498db;
}

.radi-field-password input {
    padding-right: 30px;
}

.radi-field .toggle-password {
    position: absolute;
    right: 4px;
    bottom: 10px;
    left: auto;
    color: #777;
    cursor: pointer;
    pointer-events: auto;
    font-size: 15px;
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
    z-index: 2;
}

.radi-field .toggle-password:hover,
.radi-field .toggle-password:focus {
    color: #3498db;
    outline: none;
}

.radi-field:focus-within .toggle-password {
    color: #777;
}

.radi-field:focus-within .toggle-password:hover {
    color: #3498db;
}

.radi-field-label {
    display: block;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #95a5a6;
    margin-bottom: 6px;
    padding-left: 32px;
}

.radi-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 36px;
    padding-top: 4px;
}

.radi-btn-secondary {
    display: inline-block;
    padding: 10px 16px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: #566573;
    border: none;
    border-radius: 3px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.radi-btn-secondary:hover,
.radi-btn-secondary:focus {
    color: #ffffff;
    text-decoration: none;
    background: #485563;
}

.radi-btn-primary {
    padding: 10px 28px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: #3498db;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.radi-btn-primary:hover,
.radi-btn-primary:focus {
    background: #2d83bd;
    outline: none;
}

#exampleModal .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

#exampleModal .modal-header {
    background: #2c3e50;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
    padding: 14px 20px;
}

#exampleModal .modal-title {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#exampleModal .close {
    color: #ffffff;
    opacity: 0.85;
    text-shadow: none;
}

#exampleModal .modal-body input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    padding-left: 0;
}

#exampleModal .modal-body input:focus {
    border-bottom-color: #3498db;
    box-shadow: none;
}

#exampleModal .btn-primary {
    background: #3498db;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}

#exampleModal .btn-primary:hover {
    background: #2d83bd;
}

@media (max-width: 480px) {
    .radi-login-body {
        padding: 28px 20px 24px;
    }

    .radi-brand {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .radi-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .radi-btn-secondary,
    .radi-btn-primary {
        width: 100%;
        text-align: center;
    }
}
