:root {
    --primary: #FF7043;       /* 헬로정글 시그니처 오렌지 */
    --primary-light: #FFAB91;
    --primary-gradient: linear-gradient(135deg, #FF7043, #F4511E);
    --secondary: #FF6B6B;     /* 화사한 코랄 레드 */
    --success: #2ED573;       /* 밝고 긍정적인 초록색 */
    --danger: #FF4757;
    --bg-color: #FFF9F5;      /* 배경을 연한 오렌지/웜톤으로 변경 */
    --text-main: #2F3542;
    --text-muted: #747D8C;
    
    --branch1: linear-gradient(135deg, #3742fa, #5352ed); /* 1호점 테마 */
    --branch2: linear-gradient(135deg, #ff7f50, #ff6348); /* 2호점 테마 */
    --branch3: linear-gradient(135deg, #2ed573, #1dd1a1); /* 3호점 테마 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 112, 67, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Glassmorphism Panels */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.04);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 25px;
}

.header-back {
    color: var(--text-main);
    font-size: 20px;
    text-decoration: none;
    width: 24px;
    display: inline-block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-img-header {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}
.profile-img-header:hover {
    transform: scale(1.1);
}

/* Dashboard Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.menu-card {
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 16px;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(76, 111, 255, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.menu-card i {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

/* Forms and Inputs */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.15);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
}
.btn-danger {
    background: #ff4757;
    color: white;
}
.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.icon-btn:hover {
    color: var(--primary);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer;
}

/* Calendar Grid */
.date-nav {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--primary-gradient); color: white; padding: 12px 15px; border-radius: 12px; margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}
.date-nav a { color: white; text-decoration: none; padding: 5px 10px; font-size: 14px;}
.date-nav .current-date { font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 10px; position:relative; cursor: pointer; }
.date-nav .current-date input { position: absolute; left:0; top:0; width:100%; height:100%; opacity: 0; cursor: pointer; }

.filter-group { display: flex; gap: 10px; margin-bottom: 20px; }
.filter-group select { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #ddd; background: white; }

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #eef2f6; /* border color */
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
.cal-day-name {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 0;
    background: rgba(255,255,255,0.9);
}
.cal-cell {
    background: white;
    min-height: 80px;
    padding: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cal-cell.other-month {
    background: rgba(255,255,255,0.5);
}
.cal-cell.today {
    background: #f0f4ff;
}
.cal-cell.sun .date-num { color: var(--secondary); }
.cal-cell.sat .date-num { color: var(--primary); }
.date-num {
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}
.pill {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    padding: 1px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 1px;
    cursor: pointer;
}
.pill:hover { filter: brightness(1.1); }
.b1 { background: var(--branch1); }
.b2 { background: var(--branch2); }
.b3 { background: var(--branch3); }

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.filter-tab {
    padding: 8px 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.filter-tab.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(76, 111, 255, 0.3);
    border: none;
}

/* Branch Badges */
.branch-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px;
    color: white;
    margin-left: 5px;
    vertical-align: middle;
}
