/* ============================================================
   auth.css – Auth sayfaları ortak stilleri (login, register,
   forgot, reset, verify, complete_profile)
   ============================================================ */

/* Centered card container */
.auth-container {
    max-width: 420px;
    margin: 90px auto;
    padding: 44px 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(100, 94, 157, 0.10);
}

/* Gradient icon circle */
.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark, #4a4478), var(--primary-color, #645E9D));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
.auth-icon svg { width: 30px; height: 30px; color: #fff; }

/* Headings inside auth card */
.auth-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: #1e1e2e;
    margin-bottom: 6px;
}
.auth-sub {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
}
.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-group input:focus { border-color: var(--primary-color, #645E9D); }
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

/* Gradient submit button */
.auth-btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-dark, #4a4478), var(--primary-color, #645E9D));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 20px rgba(100, 94, 157, 0.30);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 6px;
}
.auth-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(100, 94, 157, 0.40);
}

/* Alert messages */
.auth-alert { padding: 13px 16px; border-radius: 12px; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.auth-alert-error   { background: rgba(231, 76, 60, 0.08);  color: #c0392b; border: 1px solid rgba(231, 76, 60, 0.2);  }
.auth-alert-success { background: rgba(39, 174, 96, 0.09);  color: #1e8449; border: 1px solid rgba(39, 174, 96, 0.25); }
.auth-alert-warning { background: rgba(241, 196, 15, 0.10); color: #7d6608; border: 1px solid rgba(241, 196, 15, 0.3); }

/* Back link */
.auth-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.auth-back-link:hover { color: var(--primary-color, #645E9D); }
.auth-back-link span  { color: var(--primary-color, #645E9D); font-weight: 600; }

/* Password toggle button */
.input-wrap { position: relative; }
.toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    color: #bbb;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.toggle-pw:hover { color: var(--primary-color, #645E9D); }
.toggle-pw svg { width: 17px; height: 17px; }

/* Strength bar */
.strength-bar { display: flex; gap: 4px; margin-top: 8px; }
.strength-bar span {
    flex: 1;
    height: 4px;
    border-radius: 50px;
    background: #eee;
    transition: background 0.3s;
}
.strength-label { font-size: 11px; color: #bbb; margin-top: 4px; text-align: right; }

/* Password requirements list */
.req-list { list-style: none; padding: 0; margin: 6px 0 0 4px; }
.req-list li { font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.req-list li.ok { color: #27ae60; }
.req-list li::before    { content: '○'; font-size: 10px; }
.req-list li.ok::before { content: '●'; }
