﻿ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #1e293b;
    padding: 20px;
}

.container {
    background: white;
    padding: 40px 32px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 440px;
    text-align: center;
    transition: all 0.2s ease;
}

h2 {
    margin-bottom: 28px;
    font-weight: 800;
    font-size: 28px;
    background: linear-gradient(135deg, #5b6eae 0%, #6c4e8b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.user-types {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 12px;
}

.user-type {
    flex: 1;
    padding: 12px 8px;
    background: #f8fafc;
    border: 2px solid #e2edf2;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s;
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
}

    .user-type.active {
        background: linear-gradient(110deg, #667eea, #764ba2);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 18px rgba(102, 126, 234, 0.25);
    }

    .user-type:hover:not(.active) {
        border-color: #8b5cf6;
        background: #f1f5f9;
    }

.login-form {
    display: none;
    animation: fadeIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

    .login-form.active {
        display: block;
    }

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    margin: 10px 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    font-size: 15px;
    background: #ffffff;
    transition: all 0.2s;
    font-weight: 500;
}

input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(105deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 18px;
    letter-spacing: 0.5px;
}

    button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 22px -8px rgba(102, 126, 234, 0.4);
    }

    button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.alert {
    padding: 12px 16px;
    margin: 15px 0 8px;
    border-radius: 28px;
    font-size: 13.5px;
    display: none;
    text-align: left;
    font-weight: 500;
}

    .alert.error {
        background: #fee9e6;
        color: #b91c1c;
        border-left: 4px solid #ef4444;
    }

.home-link {
    display: inline-block;
    width: 100%;
    padding: 12px;
    margin-top: 18px;
    background: transparent;
    color: #5b5f97;
    border: 1.8px solid #cbd5e1;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
}

    .home-link:hover {
        background: #f1f4f9;
        border-color: #8b5cf6;
        color: #4c51bf;
        transform: translateY(-1px);
    }

/* ========= YENİ: KAYDIRMALI BULMACA (SLIDER PUZZLE CAPTCHA) ========= */
.puzzle-wrap {
    margin: 18px 0 6px;
    text-align: left;
}

.puzzle-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.puzzle-refresh {
    cursor: pointer;
    font-size: 12px;
    color: #764ba2;
    font-weight: 600;
    background: none;
    border: none;
    width: auto;
    padding: 0;
    margin: 0;
}

    .puzzle-refresh:hover {
        transform: none;
        box-shadow: none;
        text-decoration: underline;
    }

.puzzle-canvas-holder {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #eef2ff;
    user-select: none;
    -webkit-user-select: none;
}

    .puzzle-canvas-holder canvas {
        display: block;
        width: 100%;
        height: auto;
    }

#puzzlePiece {
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    touch-action: none;
}

    #puzzlePiece.dragging {
        cursor: grabbing;
    }

.puzzle-status {
    font-size: 12.5px;
    margin-top: 4px;
    min-height: 16px;
    font-weight: 600;
}

    .puzzle-status.ok {
        color: #16a34a;
    }

    .puzzle-status.fail {
        color: #b91c1c;
    }

    .puzzle-status.pending {
        color: #64748b;
        font-weight: 500;
    }

.slider-track {
    position: relative;
    margin-top: 10px;
    height: 42px;
    background: #f1f5f9;
    border-radius: 24px;
    border: 1.5px solid #e2e8f0;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(105deg, #c7d2fe, #ddd6fe);
    width: 0;
}

.slider-handle {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(105deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: grab;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    touch-action: none;
}

    .slider-handle.dragging {
        cursor: grabbing;
    }

.slider-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    pointer-events: none;
}

/* ========= YENİ: BENİ HATIRLA SATIRI ========= */
.remember-forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 4px 12px 4px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: #475569;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

    .remember-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #764ba2;
        cursor: pointer;
        margin: 0;
        padding: 0;
    }

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 28px 20px;
    }

    .user-type {
        font-size: 0.85rem;
    }
}

 
