* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #000;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.left-column {
    flex: 1;
    background-color: #c7732a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.right-column {
    flex: 1;
    background-color: #a97ae3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.character-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.character-image:hover {
    transform: scale(1.05);
}

.card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    width: 600px;
    z-index: 1000;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #c7732a, #a97ae3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-header p {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-body {
    padding: 0;
}

/* Form styles specific to register */
.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
    width: 100%;
}

.half {
    flex: 1;
    min-width: 0;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    color: #ffffff;
    font-size: 0.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.form-label::after {
    content: " *";
    color: #c7732a;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
}

.input-group input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.input-group input:focus {
    border-color: transparent;
    outline: none;
    background: white;
    box-shadow: 0 0 0 1px #c7732a, 0 0 0 2px #a97ae3;
}

/* Password toggle button */
.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.toggle-password:hover {
    opacity: 0.7;
}

.toggle-password:focus {
    outline: none;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: #000000;
}

/* Checkbox styles */
.form-group .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.form-group .remember-me input[type="checkbox"]:checked {
    background-color: #a97ae3;
    border-color: #a97ae3;
}

.form-group .remember-me input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.form-group .remember-me label {
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}

/* Button styles */
.login-button {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, #c7732a, #a97ae3);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.login-button:hover {
    background: linear-gradient(45deg, #d17d2e, #b185e9);
}

/* Links */
.register-link {
    text-align: center;
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.85rem;
}

.register-link a {
    color: #a97ae3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: #b185e9;
}

/* Ripple effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.8s ease-out;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Geetest styles */
.button-capcha {
    width: 100% !important;
    margin-bottom: 1.5rem;
}

/* Geetest minimal styles */
.geetest_captcha,
.geetest_holder,
.geetest_box_wrap,
.geetest_box {
    width: 100% !important;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-column,
    .right-column {
        flex: none;
        height: 50vh;
    }

    .card {
        width: 95%;
        max-width: 500px;
        padding: 1.5rem;
    }
    
    .input-group input {
        padding: 0.6rem 0.8rem;
    }
    
    .button-capcha {
        width: 100% !important;
    }
    
    .geetest_captcha,
    .geetest_holder {
        transform: scale(1.0) !important;
    }
}

@media screen and (max-width: 480px) {
    .card {
        padding: 1.2rem;
        width: 92%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .form-group.half {
        width: 100%;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
} 