/* ===================================
   REGISTER PAGE STYLES
   =================================== */

/* Register Background */
.register-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/main_bg.png') top center no-repeat;
    background-size: cover;
    z-index: -1;
}

/* Register Section */
.register-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 60px;
}

/* Logo artık hero-logo class'ı kullanıyor (style.css) */

/* Register Box */
.register-box {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 40px;
}

.register-box-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
    border-radius: 8px;
}

/* Register Form */
.register-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Form Group */
.form-group {
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
    height: 42px;
}

.input-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}

.form-input {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 70px 0 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #c4b59d;
}

.form-input::placeholder {
    color: #6a6058;
    font-size: 12px;
}

.form-input:focus {
    color: #e0d5c5;
}

.form-input:focus+.input-bg,
.input-wrapper:focus-within .input-bg {
    filter: brightness(1.2);
}

/* Input Actions (Password show/generate buttons) */
.input-actions {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    gap: 5px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(30, 25, 20, 0.7);
    border: 1px solid rgba(80, 70, 60, 0.5);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn svg {
    width: 14px;
    height: 14px;
    fill: #8a8078;
}

.action-btn:hover {
    background: rgba(50, 45, 40, 0.8);
    border-color: #c9a86c;
}

.action-btn:hover svg {
    fill: #c9a86c;
}

.action-btn.active {
    background: rgba(201, 168, 108, 0.2);
    border-color: #c9a86c;
}

.action-btn.active svg {
    fill: #c9a86c;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Password Requirements */
.password-requirements {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(30, 25, 20, 0.6);
    border: 1px solid rgba(80, 70, 60, 0.4);
    border-radius: 4px;
    margin-top: 5px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
}

.req-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.7;
}

.requirement span {
    font-size: 11px;
    color: #8a8078;
}

/* Captcha Box */
.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(40, 35, 30, 0.7);
    border: 1px solid rgba(80, 70, 60, 0.5);
    border-radius: 4px;
    margin-top: 10px;
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
}

.captcha-checkbox {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 15, 10, 0.8);
    border: 2px solid rgba(100, 90, 80, 0.6);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.captcha-checkbox:checked+.checkbox-custom {
    background: rgba(201, 168, 108, 0.3);
    border-color: #c9a86c;
}

.captcha-checkbox:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c9a86c;
    font-size: 12px;
    font-weight: bold;
}

.captcha-text {
    font-size: 12px;
    color: #8a8078;
}

.captcha-icon {
    opacity: 0.5;
}

/* Show Password Success Box */
#showPassword {
    position: relative;
    z-index: 1;
    padding: 10px;
}

#showPassword .alert {
    background: linear-gradient(135deg, rgba(40, 80, 40, 0.3) 0%, rgba(30, 60, 30, 0.2) 100%);
    border: 1px solid rgba(100, 180, 100, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

#showPassword .alert p {
    color: #a8d4a8;
    font-size: 14px;
    margin: 5px 0;
}

.credentials-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 15px;
    background: rgba(30, 25, 20, 0.6);
    border: 1px solid rgba(80, 70, 60, 0.4);
    border-radius: 6px;
}

.credentials-row label {
    min-width: 100px;
    font-size: 13px;
    color: #c9a86c;
    font-weight: 600;
    margin: 0;
}

.credentials-row .form-input {
    flex: 1;
    height: 36px;
    background: rgba(20, 15, 10, 0.6);
    border: 1px solid rgba(80, 70, 60, 0.5);
    border-radius: 4px;
    padding: 0 12px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    color: #e8dcc8;
    letter-spacing: 1px;
}

.credentials-row .copy_text {
    min-width: auto;
    width: auto;
    height: 36px;
    padding: 0 15px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.3) 0%, rgba(160, 130, 80, 0.2) 100%);
    border: 1px solid rgba(201, 168, 108, 0.5);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e8dcc8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credentials-row .copy_text:hover {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.5) 0%, rgba(160, 130, 80, 0.4) 100%);
    border-color: #c9a86c;
    transform: translateY(-1px);
}

/* Random Password Toggle */
.random-password-toggle {
    padding: 10px 15px;
    background: rgba(30, 25, 20, 0.4);
    border: 1px solid rgba(80, 70, 60, 0.3);
    border-radius: 6px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #c4b59d;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c9a86c;
    cursor: pointer;
}

/* Register Button */
.register-btn {
    position: relative;
    width: fit-content;
    min-width: 180px;
    height: 45px;
    margin: 15px auto 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
    transition: all 0.3s ease;
}

.register-btn span {
    position: relative;
    z-index: 1;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e8dcc8;
}

.register-btn:hover {
    transform: translateY(-3px);
}

.register-btn:hover .btn-bg {
    filter: brightness(1.3);
}

.register-btn:hover span {
    text-shadow: 0 0 15px rgba(232, 220, 200, 0.8);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .register-section {
        padding-top: 100px;
    }
}

@media (max-width: 600px) {
    .register-box {
        max-width: 95%;
        padding: 30px 20px;
    }

    .password-requirements {
        flex-direction: column;
        gap: 10px;
    }

    .captcha-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .register-section {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .register-box {
        padding: 25px 15px;
    }

    .form-input {
        font-size: 12px;
        padding: 0 15px;
    }

    .form-input::placeholder {
        font-size: 11px;
    }

    .password-requirements {
        padding: 12px 15px;
    }

    .requirement span {
        font-size: 10px;
    }

    .req-icon {
        width: 18px;
        height: 18px;
    }

    .captcha-box {
        padding: 12px 15px;
    }

    .register-btn {
        min-width: 160px;
        height: 40px;
    }

    .register-btn span {
        font-size: 11px;
    }

    .login-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ===================================
   LOGIN PAGE SPECIFIC STYLES
   =================================== */
.login-box {
    max-width: 450px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.remember-me span {
    font-size: 12px;
    color: #8a8078;
    transition: color 0.3s ease;
}

.remember-me:hover span {
    color: #c9a86c;
}

.forgot-password {
    font-size: 12px;
    color: #8a8078;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #c9a86c;
    text-shadow: 0 0 10px rgba(201, 168, 108, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 90, 80, 0.3);
}

.register-link span {
    font-size: 12px;
    color: #6a6058;
}

.register-link a {
    font-size: 12px;
    color: #c9a86c;
    text-decoration: none;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.register-link a:hover {
    text-shadow: 0 0 10px rgba(201, 168, 108, 0.5);
}