.modal-content.register-modal {
    background: linear-gradient(
        165deg,
        rgba(16, 26, 48, 0.72) 0%,
        rgba(13, 21, 38, 0.6) 100%
    );
    border: 1px solid rgba(216, 191, 255, 0.28);
    border-radius: 1.25rem;
    color: #f8fafc;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.register-modal .logo {
    max-width: 180px;
    opacity: 0.85;
}

.register-close {
    top: 1.1rem;
    right: 1.1rem;
}

.register-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.1;
}

.register-modal .modal-body {
    padding: 1.5rem 2.25rem 2.5rem;
}

.register-modal .subtitle {
    margin-bottom: 0;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.field label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b8b8c9;
}

.field input,
.field select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-size: 0.95rem;
    color: #fff;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #b8b8c9 50%),
        linear-gradient(135deg, #b8b8c9 50%, transparent 50%);
    background-position: calc(100% - 1.2rem) 50%, calc(100% - 0.85rem) 50%;
    background-size: 7px 7px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.field select option {
    background: #0f172a;
    color: #fff;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: #d8bfff;
    box-shadow: 0 0 0 3px rgba(216, 191, 255, 0.18);
}

.field.has-error input,
.field.has-error select {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field-error {
    margin: 0;
    font-size: 0.8rem;
    color: #fca5a5;
}

.submit-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 0.85rem 1.2rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111827;
    background: linear-gradient(135deg, #e7d9ff, #d8bfff);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.submit-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 30px rgba(216, 191, 255, 0.3);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.notice {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    border: 1px solid;
}

.notice-success {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
}

.notice-error {
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.35);
}

.open-register-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.6rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111827;
    background: linear-gradient(135deg, #e7d9ff, #d8bfff);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.open-register-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 30px rgba(216, 191, 255, 0.3);
    transform: translateY(-1px);
}

.open-register-btn:active {
    transform: translateY(0);
}

.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.success-card {
    max-width: 520px;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    background: linear-gradient(
        165deg,
        rgba(16, 26, 48, 0.85) 0%,
        rgba(13, 21, 38, 0.78) 100%
    );
    border: 1px solid rgba(216, 191, 255, 0.28);
    border-radius: 1.25rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

.success-card .logo {
    max-width: 180px;
    opacity: 0.85;
}

.success-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 1.5rem auto 1.25rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: #111827;
    background: linear-gradient(135deg, #e7d9ff, #d8bfff);
    border-radius: 50%;
}

.success-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #f8fafc;
}

.success-card .subtitle {
    margin-bottom: 2rem;
}

.success-card .open-register-btn {
    margin-top: 0;
}