/* Google Forms局2026 - 共通スタイル */

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

:root {
    --primary: #ff6b35;
    --secondary: #1a1a2e;
    --accent: #00d4ff;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --success: #00ff88;
    --danger: #ff4466;
    --warning: #ffaa00;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-danger { 
    background: var(--danger); 
    color: white; 
}

.btn-success { 
    background: var(--success); 
    color: #0f0f1a; 
}

.btn-warning { 
    background: var(--warning); 
    color: #0f0f1a; 
}

.btn-sm { 
    padding: 0.5rem 1rem; 
    font-size: 0.85rem; 
}

.btn-lg { 
    padding: 1rem 2rem; 
    font-size: 1.1rem; 
}

/* モーダル */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

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

.modal {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ローディング */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(15, 15, 26, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}

.loading-overlay.active { 
    display: flex; 
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text { 
    color: var(--text-muted); 
    font-size: 1.1rem; 
}

/* トースト通知 */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: var(--success);
    color: #0f0f1a;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show { 
    transform: translateY(0); 
    opacity: 1; 
}

.toast.error { 
    background: var(--danger); 
    color: white; 
}

/* スクロールバー */
::-webkit-scrollbar { 
    width: 6px; 
}

::-webkit-scrollbar-track { 
    background: rgba(0, 0, 0, 0.2); 
}

::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 3px; 
}

/* フォーム */
.form-group { 
    margin-bottom: 1rem; 
}

.form-group label { 
    display: block; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-bottom: 0.5rem; 
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    font-family: inherit;
}

.form-group input:focus, 
.form-group textarea:focus { 
    outline: none; 
    border-color: var(--accent); 
}

/* 空の状態 */
.empty-state { 
    text-align: center; 
    padding: 3rem; 
    color: var(--text-muted); 
}
