/* ============================================================
 * LINE面接予約システム
 * 認証画面共通スタイル
 * login.php / google-callback.php
 * ============================================================ */

body.auth-body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 79, 163, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at top right,
            rgba(6, 199, 85, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0d1323 0%,
            #151b2f 45%,
            #24173d 100%
        );
}

/* ----------------------------------------
 * 認証カード
 * ---------------------------------------- */

.auth-card {
    width: 100%;
    max-width: 480px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.26);
}

/* 上部アクセント */

.auth-accent {
    height: 6px;

    background:
        linear-gradient(
            90deg,
            var(--line-green),
            var(--champagne-gold),
            var(--neon-pink)
        );
}

/* ----------------------------------------
 * 本文
 * ---------------------------------------- */

.auth-content {
    padding: 36px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;

    padding: 6px 12px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--line-green),
            var(--line-green-dark)
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.auth-title {
    margin: 0;

    color: var(--night-navy);

    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
}

.auth-subtitle {
    margin: 8px 0 28px;

    color: var(--text-sub);

    font-size: 14px;
    line-height: 1.7;
}

/* ----------------------------------------
 * Googleログインボタン
 * ---------------------------------------- */

.auth-google-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 13px 18px;

    border: 1px solid #dadce0;
    border-radius: 10px;

    background: #ffffff;

    color: #202124;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.auth-google-button:hover {
    transform: translateY(-1px);

    background: #f8f9fa;

    box-shadow:
        0 6px 18px rgba(16, 24, 40, 0.10);
}

/* Google風アイコン */

.auth-google-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    margin-right: 10px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #4285f4 0%,
            #34a853 35%,
            #fbbc05 68%,
            #ea4335 100%
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
}

/* ----------------------------------------
 * 注意書き
 * ---------------------------------------- */

.auth-notice {
    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #e8eaf0;

    color: var(--text-sub);

    font-size: 13px;
    line-height: 1.8;
}

.auth-notice strong {
    color: var(--night-purple);
}

/* ----------------------------------------
 * 認証結果
 * ---------------------------------------- */

.auth-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    border-radius: 50%;

    font-size: 27px;
    font-weight: 900;
}

.auth-result-icon.success {
    background: rgba(6, 199, 85, 0.12);
    color: var(--line-green-dark);
}

.auth-result-icon.error {
    background: rgba(198, 40, 40, 0.10);
    color: #c62828;
}

.auth-success-message {
    margin: 12px 0 20px;

    color: var(--line-green-dark);

    font-weight: 700;
}

/* ----------------------------------------
 * 認証情報テーブル
 * ---------------------------------------- */

.auth-info-table {
    width: 100%;

    margin-top: 22px;

    border-collapse: collapse;
}

.auth-info-table th,
.auth-info-table td {
    padding: 12px 10px;

    border-bottom: 1px solid #e5e7eb;

    text-align: left;
    vertical-align: top;

    font-size: 14px;
}

.auth-info-table th {
    width: 145px;

    background: #fafafa;

    color: var(--night-navy);

    font-weight: 700;
}

/* ----------------------------------------
 * ボタンエリア
 * ---------------------------------------- */

.auth-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    margin-top: 26px;
}

.auth-actions .btn {
    flex: 1;
}

/* ----------------------------------------
 * エラー
 * ---------------------------------------- */

.auth-error {
    margin-top: 20px;

    padding: 16px;

    border: 1px solid #efaaaa;
    border-radius: 10px;

    background: #fff2f2;

    color: #b3261e;

    line-height: 1.7;
}

/* ----------------------------------------
 * フッター
 * ---------------------------------------- */

.auth-footer {
    margin-top: 22px;

    color: #9ca3af;

    font-size: 11px;
    text-align: center;
}

/* ----------------------------------------
 * スマートフォン
 * ---------------------------------------- */

@media screen and (max-width: 640px) {

    body.auth-body {
        padding: 16px;
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-content {
        padding: 28px 22px;
    }

    .auth-title {
        font-size: 23px;
    }

    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }

    .auth-info-table th {
        width: 120px;
    }
}