/* assets/css/auth.css */

/* Genel Sayfa Yapısı */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px var(--container-padding);
    background-color: #f8f9fa;
    min-height: calc(100vh - 140px); /* Header ve Footer yüksekliğine göre ayarlanabilir */
}

/* Ana Form Konteyneri */
.auth-container {
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

/* Form Başlığı */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 10px;
}
.auth-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

/* Form Elemanları */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.form-group {
    margin-bottom: 0;
}
.form-label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}
.input-wrapper {
    position: relative;
}
.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 16px;
    pointer-events: none;
}
.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px; /* İkon için sol boşluk */
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 169, 127, 0.1);
}
.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
}
.forgot-password-link {
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
}
.forgot-password-link:hover {
    text-decoration: underline;
}
.form-button {
    width: 100%;
    padding: 14px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}
.form-button:hover {
    background-color: var(--color-primary-dark);
}

/* Form Altı Linkleri */
.auth-footer {
    margin-top: 30px;
    font-size: 15px;
    text-align: center;
    color: #6c757d;
}
.auth-footer a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* Mesaj Kutuları */
.message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid transparent;
    text-align: center;
}
.message.success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #146c43;
    border-color: rgba(25, 135, 84, 0.2);
}
.message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #b02a37;
    border-color: rgba(220, 53, 69, 0.2);
}
