/* GitCopilot Cloud - GitHub Benzeri Login Sayfası Stil */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
}

.login-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.login-title {
    font-size: 24px;
    font-weight: 300;
    color: #f0f6fc;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #8b949e;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    border: 1px solid;
}

.alert-error {
    background: #1c1418;
    border-color: #f85149;
    color: #f85149;
}

.alert-success {
    background: #0f1c12;
    border-color: #3fb950;
    color: #3fb950;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #f0f6fc;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1f6feb;
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.3);
}

.form-input::placeholder {
    color: #6e7681;
}

.btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #238636;
    color: #ffffff;
}

.btn-primary:hover {
    background: #2ea043;
}

.btn-primary:active {
    background: #26a641;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #6e7681;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #30363d;
}

.divider:not(:empty)::before {
    margin-right: 16px;
}

.divider:not(:empty)::after {
    margin-left: 16px;
}

.register-link {
    text-align: center;
    padding: 16px;
    margin-top: 16px;
    border: 1px solid #30363d;
    border-radius: 6px;
    font-size: 14px;
}

.register-link a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #6e7681;
}

.footer-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
}

.footer-links a {
    color: #58a6ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 24px;
    }
    
    .login-title {
        font-size: 20px;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
