/* themes/classic_card.css — Gmail tarzı klasik kart */

*, *::before, *::after { box-sizing: border-box; }

.wmg-body {
    margin: 0;
    font-family: var(--wmg-font, system-ui), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #1f2328;
    background: #f6f8fa;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wmg-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background-color: #f6f8fa;
}

.wmg-stage--bg {
    background-size: var(--wmg-bg-position, cover);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wmg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--wmg-bg-overlay, 0));
    backdrop-filter: blur(var(--wmg-bg-blur, 0));
    -webkit-backdrop-filter: blur(var(--wmg-bg-blur, 0));
    pointer-events: none;
    z-index: 0;
}

.wmg-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, var(--wmg-card-op, 1));
    border-radius: var(--wmg-radius, 12px);
    box-shadow:
        0 6px 28px rgba(0, 0, 0, .08),
        0 1px 2px rgba(0, 0, 0, .04);
    padding: 36px 32px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wmg-card__head { margin-bottom: 4px; }

.wmg-logo {
    max-width: 88px;
    max-height: 88px;
    margin: 0 auto 12px;
    display: block;
    object-fit: contain;
}

.wmg-brand {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 600;
    color: #1f2328;
    line-height: 1.3;
}

.wmg-domain {
    margin: 0 0 8px 0;
    color: #57606a;
    font-size: 14px;
}

.wmg-welcome {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #57606a;
    line-height: 1.5;
}

.wmg-alert {
    margin: 16px 0 0 0;
    padding: 10px 14px;
    background: #fff1f1;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    color: #c62828;
    font-size: 13px;
    text-align: left;
}

.wmg-form {
    margin-top: 24px;
    text-align: left;
}

.wmg-field {
    display: flex;
    align-items: stretch;
    margin-bottom: 12px;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    overflow: hidden;
}

.wmg-field:focus-within {
    border-color: var(--wmg-primary, #1976d2);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wmg-primary, #1976d2) 18%, transparent);
}

.wmg-field input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: 0;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: inherit;
    min-width: 0;
}

.wmg-field input::placeholder { color: #8b949e; }

.wmg-field--split .wmg-at {
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #57606a;
    border-left: 1px solid #d1d9e0;
    background: #f6f8fa;
    font-size: 14px;
    user-select: none;
    white-space: nowrap;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmg-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 18px 0;
    font-size: 13px;
    color: #57606a;
    cursor: pointer;
    user-select: none;
}

.wmg-remember input[type=checkbox] {
    accent-color: var(--wmg-primary, #1976d2);
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.wmg-btn {
    width: 100%;
    background: var(--wmg-accent, var(--wmg-primary, #1976d2));
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: filter .15s, transform .05s, box-shadow .15s;
}

.wmg-btn:hover { filter: brightness(1.08); }
.wmg-btn:active { transform: translateY(1px); }
.wmg-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wmg-primary, #1976d2) 35%, transparent);
}

.wmg-divider {
    margin: 22px 0 14px 0;
    height: 1px;
    background: #d1d9e0;
}

.wmg-admin-link {
    display: inline-block;
    color: #57606a;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.wmg-admin-link:hover {
    color: var(--wmg-primary, #1976d2);
    background: rgba(25, 118, 210, .06);
}

.wmg-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eaeef2;
    font-size: 12px;
    color: #57606a;
    line-height: 1.5;
}

.wmg-footer a {
    color: var(--wmg-primary, #1976d2);
    text-decoration: none;
}
.wmg-footer a:hover { text-decoration: underline; }

.wmg-powered {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    pointer-events: none;
}

.wmg-stage:not(.wmg-stage--bg) .wmg-powered {
    color: #8b949e;
    text-shadow: none;
}

@media (max-width: 480px) {
    .wmg-card { padding: 28px 22px; max-width: 100%; }
    .wmg-brand { font-size: 20px; }
}