/* Specific styles for the registration page */
body {
    background-color: #f7f9fc;
}

.register-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.register-header p {
    color: #666;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #5260ff;
    box-shadow: 0 0 0 3px rgba(82, 96, 255, 0.1);
    outline: none;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.form-footer a {
    color: #5260ff;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Captcha styles */
.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-group input {
    flex: 1;
}

.captcha-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.captcha-btn:hover {
    background-color: #e0e0e0;
}

.captcha-btn:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.captcha-image {
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(82, 96, 255, 0.1);
    border-radius: 50%;
    border-top-color: #5260ff;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #5260ff;
    font-weight: 500;
    font-size: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button styles */
.btn {
    background-color: #5260ff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    font-size: 16px;
}

.btn:hover {
    background-color: #4251e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(82, 96, 255, 0.2);
}

/* Button disabled state */
.btn:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.agreement input {
    margin-top: 3px;
    margin-right: 10px;
}

.agreement label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.agreement a {
    color: #5260ff;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}