/* Dernek Benim — Owner Admin Login Page */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.owner-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Decorative gradient blobs */
.owner-login-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px circle at 10% -10%, rgba(34, 197, 94, 0.12), transparent 60%),
        radial-gradient(600px circle at 110% 110%, rgba(22, 163, 74, 0.14), transparent 60%),
        linear-gradient(180deg, #f0fdf4 0%, #f8fafc 40%, #ffffff 100%);
}

.owner-login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.25);
}

.owner-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.owner-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
}

.owner-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-brand-text {
    display: flex;
    flex-direction: column;
}

.owner-brand-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.owner-brand-text span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #16a34a;
}

.owner-heading h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.owner-heading p {
    font-size: 0.92rem;
    color: #6b7280;
    margin-bottom: 28px;
}

.owner-heading p strong {
    color: #16a34a;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.87rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.alert-icon {
    font-size: 1.1rem;
}

/* Social buttons */
.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

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

.social-google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #e2e8f0;
}

.social-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.social-apple {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
}

.social-apple:hover {
    background: #1f2937;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.25);
    transform: translateY(-1px);
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

.owner-help {
    margin-top: 24px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

.owner-help a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
}

.owner-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.owner-back:hover {
    color: #16a34a;
}

/* Spinner */
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(22, 163, 74, 0.25);
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

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

@media (max-width: 480px) {
    .owner-login-card {
        padding: 28px 22px;
    }
}
