/* ========================================
   LOGIN PAGE - YAŞAR AVUKATLIK
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.login-page {
    font-family: 'Inter', sans-serif;
    background: #f0f2f5;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* Left - Visual Panel (koyu kalacak) */
.visual-panel {
    flex: 1;
    background: linear-gradient(135deg, #1a1d29 0%, #2a2d3a 50%, #1a1d29 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.visual-panel::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,145,87,.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}
.visual-panel::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168,145,87,.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}
.visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem;
}
.visual-content .logo-big {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(168,145,87,.3));
}
.visual-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
    letter-spacing: -.5px;
}
.visual-content h1 span { color: #a89157; }
.visual-content p {
    color: rgba(255,255,255,.4);
    font-size: .95rem;
    font-weight: 300;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.6;
}
.decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a89157, #c9ad6e);
    border-radius: 3px;
    margin: 1.5rem auto;
}

/* Right - Login Panel (acik tema) */
.login-panel {
    width: 480px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: #ffffff;
    position: relative;
}
.login-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(168,145,87,.15), transparent);
}

.login-header { margin-bottom: 2.5rem; }
.login-header h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: .5rem;
}
.login-header p {
    color: #94a3b8;
    font-size: .9rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    color: #64748b;
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .9rem;
    transition: color .3s;
}
.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #1a1a2e;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    transition: all .3s;
    outline: none;
}
.input-wrapper input::placeholder { color: #94a3b8; }
.input-wrapper input:focus {
    border-color: rgba(168,145,87,.5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(168,145,87,.1);
}
.input-wrapper input:focus ~ i { color: #a89157; }

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.checkbox-wrapper input[type=checkbox] { display: none; }
.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.checkbox-wrapper input:checked ~ .checkmark {
    background: #a89157;
    border-color: #a89157;
}
.checkmark i {
    font-size: .65rem;
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
}
.checkbox-wrapper input:checked ~ .checkmark i { opacity: 1; }
.checkbox-wrapper span {
    color: #64748b;
    font-size: .85rem;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a89157, #c9ad6e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(168,145,87,.3);
}
.btn-login:active { transform: translateY(0); }
.btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transition: left .5s;
}
.btn-login:hover::after { left: 100%; }

.error-msg {
    background: rgba(231,76,60,.08);
    border: 1px solid rgba(231,76,60,.2);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    color: #e74c3c;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake .5s;
}
.error-msg i { font-size: 1rem; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.login-panel > * { animation: fadeIn .6s ease-out both; }
.login-header { animation-delay: .1s; }
.form-group:nth-child(1) { animation-delay: .2s; }
.form-group:nth-child(2) { animation-delay: .3s; }

@media (max-width: 900px) {
    .visual-panel { display: none; }
    .login-panel { width: 100%; max-width: 100%; }
}
@media (max-width: 480px) {
    .login-panel { padding: 2rem 1.5rem; }
}
