.register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-box {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.register-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.register-box h2::after {
    content: 'Register';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #5A6DB3;
    opacity: 0.8;
}

.register-form-group {
    margin-bottom: 20px;
}

.register-form-group label {
    color: #b3b3b3;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.register-form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.register-form-group input:focus {
    border-color: #5A6DB3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.register-form-hint {
    color: #cc8962;
    font-size: 0.8rem;
    margin-top: 6px;
    display: flex;
}

.register-gender-group {
    margin-top: 4px;
}

.register-gender-title {
    color: #b3b3b3;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.register-gender-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.register-gender-option {
    position: relative;
    cursor: pointer;
}

.register-gender-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.register-gender-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.24);
    color: #d9d9e8;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.register-gender-option--female input:checked + span {
    border-color: rgba(255, 111, 187, 0.9);
    background: linear-gradient(135deg, rgba(255, 111, 187, 0.32), rgba(107, 53, 105, 0.42));
    box-shadow: 0 0 22px rgba(255, 111, 187, 0.22);
    color: #fff4fb;
}

.register-gender-option--male input:checked + span {
    border-color: rgba(83, 168, 255, 0.95);
    background: linear-gradient(135deg, rgba(83, 168, 255, 0.32), rgba(45, 73, 160, 0.42));
    box-shadow: 0 0 22px rgba(83, 168, 255, 0.22);
    color: #f2f8ff;
}

.register-gender-option input:focus-visible + span {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.register-captcha-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.register-captcha-group label strong {
    color: #ffd27a;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.register-bot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.register-password-input {
    position: relative;
}

.register-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.register-terms {
    margin: 25px 0;
}

.register-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b3b3b3;
    font-size: 0.9rem;
    cursor: pointer;
}

.register-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #5A6DB3;
    margin-top: 3px;
}

.register-checkbox-label a {
    color: #5A6DB3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-checkbox-label a:hover {
    color: #ff3333;
}

.register-button {
    width: 100%;
    padding: 14px;
    background: #5A6DB3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.register-button:hover {
    background: #ff3333;
    transform: translateY(-2px);
}

.register-footer {
    text-align: center;
    margin-top: 30px;
    color: #b3b3b3;
}

.register-footer a {
    color: #5A6DB3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: #ff3333;
}

/* Success Animation Styles */
.register-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.register-success-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 500px;
}

.register-success-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.register-success-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #5A6DB3;
    opacity: 0;
    animation: fadeInIcon 0.5s ease 0.5s forwards;
}

.register-success-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.register-success-circle circle {
    fill: none;
    stroke: #5A6DB3;
    stroke-width: 4;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: circleAnimation 1s ease-out forwards;
}

.register-success-message h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideUp 0.5s ease 0.3s forwards;
}

.register-success-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.register-step {
    flex: 1;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(20px);
}

.register-step i {
    font-size: 1.5rem;
    color: #5A6DB3;
    margin-bottom: 10px;
}

.register-step span {
    display: block;
    font-size: 0.9rem;
    color: #b3b3b3;
}

.register-redirect-message {
    margin-top: 30px;
    color: #b3b3b3;
    opacity: 0;
    animation: slideUp 0.5s ease 2s forwards;
}

.register-countdown {
    color: #5A6DB3;
    font-weight: bold;
}

/* Error Notification Styles */
.register-error-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.register-error-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    color: #5A6DB3;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-error-message {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-error-text {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 6px;
}

.register-error-hint {
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
}

/* Animations */
@keyframes circleAnimation {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInIcon {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Step Animations */
.register-step[data-step="1"] { animation: slideUp 0.5s ease 0.8s forwards; }
.register-step[data-step="2"] { animation: slideUp 0.5s ease 1.1s forwards; }
.register-step[data-step="3"] { animation: slideUp 0.5s ease 1.4s forwards; }

/* Media Queries */
@media (max-width: 768px) {
    .register-box {
        padding: 30px 20px;
    }
} 
