/********** LOGIN PAGE **********/

.page-layout main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/********** AUTH WRAPPER (FORM + GÖRSEL) **********/

.auth-wrapper.login-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80rem;
    width: 100%;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.auth-wrapper .line {
    width: 0.1rem;
    height: 20rem;
    background-color: var(--line-color);
}

/* Görsel bu kez SAĞDA */
.auth-wrapper.login-layout .auth-image {
    order: 2;
    flex: 1;
    max-width: 40rem;
    position: relative;
    overflow: hidden;
    padding: 4rem;
}

.auth-wrapper.login-layout .auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.auth-wrapper.login-layout .auth-image:hover img {
    transform: scale(1.03);
}

/********** FORM ALANI **********/

.auth-container {
    flex: 1;
    max-width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.auth-box {
    width: 100%;
}

.auth-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--logo-sier-color);
    margin-bottom: 0.8rem;
}

.auth-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2.4rem;
}

/********** FORM YAPISI **********/

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    background-color: var(--bg-color);
    color: var(--text-color);
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-group input:focus {
    border-color: var(--logo-sier-color);
    background-color: color-mix(in srgb, var(--bg-color) 90%, var(--logo-sier-color) 10%);
}

/********** PASSWORD TOGGLE **********/

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    width: 100%;
    padding-right: 4rem;
}

.toggle-password {
    position: absolute;
    right: 1.2rem;
    font-size: 1.6rem;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.toggle-password:hover {
    opacity: 1;
    color: var(--logo-sier-color);
}

/********** BUTTON **********/

.form-group.recapt {
	align-items: center;
}

.auth-btn {
    margin-top: 1rem;
    background-color: var(--logo-sier-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.auth-btn:hover {
    background-color: var(--footer-head-color);
    transform: translateY(-0.2rem);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/********** FOOTER TEXT **********/

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.8;
}

.auth-footer a {
    color: var(--logo-sier-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.auth-footer a:hover {
    color: var(--footer-head-color);
}