:root {
    --primary-color: #0984e3;
    --secondary-color: #74b9ff;
    --bg-color: #f1f2f6;
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --accent-color: #00b894;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: var(--primary-color);
    font-size: 22px;
    margin: 0 0 5px 0;
}

.status-box {
    background: #dfe6e9;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-box h2 {
    font-size: 15px;
    margin: 0 0 8px 0;
    color: #2d3436;
}

section {
    margin-bottom: 25px;
}

section h2 {
    font-size: 16px;
    color: var(--primary-color);
    border-bottom: 2px solid #dfe6e9;
    padding-bottom: 5px;
    margin-bottom: 12px;
}

/* 입력 박스 공통 디자인 */
.add-box {
    display: flex;
    gap: 5px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed #b2bec3;
}

.add-box input {
    flex: 1;
    padding: 6px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 12px;
}

.add-box input[type="text"] {
    flex: 2;
    min-width: 0;
    padding: 8px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 12px;
}

.add-box input[type="number"] {
    flex: 1;
    min-width: 0;
    padding: 8px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 12px;
}

.add-box button {
    padding: 6px 10px;
    font-size: 12px;
}

/* 퀘스트 승인 카드 */
.parent-quest-item {
    background: #fff;
    border: 2px solid #dfe6e9;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.parent-quest-info .title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}

.parent-quest-info .status {
    font-size: 12px;
    color: #e17055;
    font-weight: bold;
}

/* 버튼 스타일 */
button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

button:hover {
    background: #019875;
}

.btn-danger {
    background: #d63031;
}
.btn-danger:hover {
    background: #c0392b;
}

/* 관리 리스트 아이템 스타일 */
.shop-manage-item {
    background: #fff;
    border: 1px solid #dfe6e9;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.shop-manage-item input[type="text"],
.shop-manage-item input[type="time"],
.shop-manage-item input[type="number"] {
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 13px;
    color: var(--text-color);
    transition: all 0.2s ease-in-out;
}

.shop-manage-item input[type="text"]:focus,
.shop-manage-item input[type="time"]:focus,
.shop-manage-item input[type="number"]:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.15);
    outline: none;
}