/* Login Page Styles */

html, body {
    margin: 0; /* Varsayılan margin'i kaldır */
    height: 100%; /* Body'yi tam yükseklik yap */
    overflow-x: hidden; /* Yatay kaymayı engelle */
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #19222c;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.container {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo {
    height: 4.5rem;
    width: auto;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 0.375rem;
    letter-spacing: -0.025em;
}

.subtitle {
    color: #9CA3AF;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background-color: #151922;
    border: 1px solid #2D3748;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #4A5568;
}

.form-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 1px #2563EB;
}

.error-message {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #EF4444;
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.alert-success {
    background-color: rgba(220, 252, 231, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86EFAC;
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.alert-error p {
    font-size: 0.813rem;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    flex: 1;
    background-color: #151922;
    border: 1px solid #2D3748;
}

.radio-label:hover {
    background-color: #1F2937;
    border-color: #374151;
}

.radio-input {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #2563EB;
}

.radio-text {
    color: #9CA3AF;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.radio-label:hover .radio-text {
    color: #ffffff;
}

.radio-input:checked + .radio-text {
    color: #ffffff;
}

.radio-input:checked {
    accent-color: #2563EB;
}

.radio-label:has(.radio-input:checked) {
    background-color: rgba(37, 99, 235, 0.1);
    border-color: #2563EB;
}

.remember-me {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #2563EB;
}

.checkbox-text {
    color: #9CA3AF;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.checkbox-label:hover .checkbox-text {
    color: #ffffff;
}

.forgot-password {
    text-align: right;
    position: relative;
}

.forgot-password-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.025em;
}

.forgot-password-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.forgot-password-link:hover::before {
    left: 100%;
}

.forgot-password-link:hover {
    color: #60A5FA;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.forgot-password-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.forgot-password-link::after {
    content: '→';
    font-size: 0.75rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.forgot-password-link:hover::after {
    opacity: 1;
    transform: translateX(2px);
}

.back-to-login {
    text-align: center;
    margin: 1.5rem 0;
}

.back-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background: linear-gradient(135deg, #004F9F 0%, #2563EB 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-top: 0.5rem;
    letter-spacing: -0.025em;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    background-clip: padding-box; 
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    transform: none;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.3);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 400;
    letter-spacing: -0.025em;
} 