@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-glow: rgba(139, 92, 246, 0.35);
    --accent: #06b6d4;
    --success: #10b981;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --transition: all 0.25s ease;
}

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

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
}

.container { width: 100%; max-width: 800px; margin: 0 auto; }

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main);
    padding: 40px;
    margin-bottom: 30px;
}

.header-section { text-align: center; margin-bottom: 36px; }

.header-section h1 {
    font-size: 2.2rem; font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.header-section p { color: var(--text-muted); font-size: 1.05rem; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.form-label { font-size: 0.95rem; font-weight: 600; color: #e2e8f0; }

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: inherit; font-size: 0.98rem; outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(15, 23, 42, 0.85);
}

textarea { min-height: 140px; resize: vertical; }

.btn-submit {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff; font-size: 1.1rem; font-weight: 700;
    padding: 16px 32px; border: none; border-radius: var(--radius-md);
    cursor: pointer; box-shadow: 0 10px 25px var(--primary-glow);
    transition: var(--transition); width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px); box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
}

.back-home {
    display: inline-flex; align-items: center; gap: 6px; color: #a78bfa; text-decoration: none; font-size: 0.9rem; margin-bottom: 20px; font-weight: 500;
}
.back-home:hover { text-decoration: underline; }

.badge-unread { background: rgba(239,68,68,0.2); color:#fca5a5; border:1px solid #ef4444; padding:3px 8px; border-radius:10px; font-size:0.75rem; font-weight:bold; }
.badge-read { background: rgba(16,185,129,0.2); color:#34d399; border:1px solid #10b981; padding:3px 8px; border-radius:10px; font-size:0.75rem; }
