:root {
    --bg: #ffffff;
    --sub-bg: #f8fafc;
    --border: #e2e8f0;
    --text: #1e293b;
    --sub-text: #64748b;
    --primary: #2563eb;
    --urgent: #ef4444;
    --annual: #0ea5e9;
    --mono: 'JetBrains Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
}

body {
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

#app {
    max-width: 1000px;
    margin: 0 auto;
}

/* 상단 네비게이션 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-family: var(--mono);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-btn {
    background: var(--text);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-btn.primary {
    background: var(--primary);
}

.nav-btn.primary:hover {
    filter: brightness(1.1);
}

.user-profile {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

/* 홈 레이아웃 */
.console-home {
    padding: 4rem 2rem;
    text-align: center;
}

.console-header h1 {
    font-size: 1.25rem;
    font-family: var(--mono);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.console-header p {
    color: var(--sub-text);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.mode-selector {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mode-btn {
    flex: 1;
    max-width: 320px;
    background: white;
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.mode-btn:hover {
    border-color: var(--primary);
    background: var(--sub-bg);
}

.code-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: var(--sub-bg);
    border: 1px solid var(--border);
    color: var(--sub-text);
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.mode-btn h2 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.mode-btn p {
    font-size: 0.85rem;
    color: var(--sub-text);
    margin: 0;
}

/* 모달 - 개발자 스타일 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    z-index: 200;
}

.modal-window {
    background: white;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--text);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.1);
    border-radius: 4px;
}

.modal-header {
    background: var(--text);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-id {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.close-x {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-family: var(--mono);
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

/* 폼 스타일 */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--sub-text);
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: 2px solid var(--primary);
    border-color: transparent;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 0.85rem;
}

/* 리스트 스타일 */
.list-container {
    padding: 2rem;
}

.prayer-list {
    display: grid;
    gap: 0.75rem;
}

.prayer-item {
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.prayer-item:hover {
    background: var(--sub-bg);
}

.p-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.p-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.p-cycle {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--sub-text);
}

.badge {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: #f1f5f9;
    border-radius: 4px;
}

.action-btn {
    background: white;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 4px;
}

.hidden { display: none !important; }
