.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
}
.google-btn:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: #f8f9fa;
}

.auth-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-widget .account-link {
    font-size: 13px;
    color: #a5b4fc;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 6px;
    padding: 6px 12px;
    transition: background 0.2s;
}
.auth-widget .account-link:hover {
    background: rgba(99,102,241,0.12);
}

.auth-widget .account-link-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-widget .unlinked-warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #eab308;
    cursor: help;
}

.unlinked-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.unlinked-modal-overlay.active {
    display: flex;
}

.unlinked-modal {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(234, 179, 8, 0.45);
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
}

.unlinked-modal h2 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #fde047;
    display: flex;
    align-items: center;
    gap: 10px;
}

.unlinked-modal p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #94a3b8;
}

.unlinked-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.unlinked-modal-actions .btn-primary {
    padding: 9px 18px;
    font-size: 13px;
    background: rgba(99, 102, 241, 0.35);
    border: 1px solid rgba(99, 102, 241, 0.55);
    color: #c7d2fe;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.unlinked-modal-actions .btn-primary:hover {
    background: rgba(99, 102, 241, 0.5);
}

.unlinked-modal-actions .btn-dismiss {
    padding: 9px 18px;
    font-size: 13px;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
}

.unlinked-modal-actions .btn-dismiss:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
}

.account-page {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px;
    color: #e2e8f0;
}
.account-page h1 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #c7d2fe;
}
.account-page .subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 28px;
}
.account-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 20px;
}
.account-card h2 {
    font-size: 15px;
    margin: 0 0 16px;
    color: #a5b4fc;
    display: flex;
    align-items: center;
    gap: 8px;
}
.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.player-info .badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(99,102,241,0.2);
    color: #818cf8;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.sessions-table th {
    text-align: left;
    padding: 6px 10px;
    color: #64748b;
    border-bottom: 1px solid rgba(99,102,241,0.15);
    font-weight: 500;
}
.sessions-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(99,102,241,0.08);
    color: #cbd5e1;
    vertical-align: middle;
}
.sessions-table tr:last-child td {
    border-bottom: none;
}
.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.status-dot.green  { background: #22c55e; }
.status-dot.yellow { background: #eab308; }
.status-dot.red    { background: #ef4444; }
.status-dot.unknown { background: #475569; }

.btn-remove {
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid rgba(239,68,68,0.4);
    background: transparent;
    color: #f87171;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-remove:hover {
    background: rgba(239,68,68,0.12);
}

.link-player-section {
    margin-top: 8px;
}
.link-player-section select {
    padding: 7px 10px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 13px;
    margin-right: 8px;
}
.btn-link {
    padding: 7px 16px;
    font-size: 13px;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.4);
    color: #a5b4fc;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-link:hover {
    background: rgba(99,102,241,0.35);
}
.no-link-msg {
    font-size: 13px;
    color: #64748b;
}

.logout-btn {
    font-size: 12px;
    color: #64748b;
    background: none;
    border: 1px solid rgba(100,116,139,0.3);
    border-radius: 5px;
    padding: 5px 12px;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.logout-btn:hover {
    color: #94a3b8;
}
