/* styles.css */
/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
} */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #333;
    color: white;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.env-selector {
    padding: 15px 10px;
    background-color: #444;
    border-bottom: 2px solid #555;
}

.env-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.env-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #555;
    border: 1px solid #666;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.env-toggle:hover {
    background-color: #666;
}

.env-toggle-text {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    flex: 1;
    text-align: center;
}

.env-toggle-arrow {
    font-size: 16px;
    color: #fff;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.env-toggle.active .env-toggle-arrow {
    transform: rotate(180deg);
}

.env-options {
    display: none;
    margin-top: 8px;
    flex-direction: column;
    gap: 6px;
}

.env-options.show {
    display: flex;
}

.env-option {
    display: flex;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    background-color: #555;
}

.env-option:hover {
    background-color: #666;
}

.env-option.active {
    background-color: #FF7830;
    font-weight: 600;
}

.env-option input[type="radio"] {
    display: none;
}

.menu-bar a {
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #444;
    transition: background-color 0.3s ease;
}

.menu-bar a:hover {
    background-color: #555;
}

.content {
    margin-left: 220px;
    padding: 20px;
}

.content h1 {
    color: #333;
}

/* 헤더 스타일 */
h1 {
    text-align: center;
    margin-top: 20px;
    color: #444;
}

/* 테이블 스타일 */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th,
td {
    padding: 12px 20px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    color: #555;
    font-weight: bold;
    text-transform: uppercase;
}

td {
    color: #666;
}

/* 버튼 컨테이너 스타일 */
.button-container {
    display: flex;
    /* flexbox 사용 */
    justify-content: center;
    /* 가로 중앙 정렬 */
    align-items: center;
    /* 세로 중앙 정렬 */
    gap: 20px;
    /* 버튼 간격 */
    margin-top: 20px;
    /* 버튼과 지도 사이의 간격 */
}

/* 버튼 스타일 */
.btn {
    padding: 10px 20px;
    /* 버튼의 안쪽 여백 */
    font-size: 16px;
    /* 버튼 글자 크기 */
    border: none;
    /* 기본 테두리 제거 */
    border-radius: 5px;
    /* 버튼의 모서리 둥글게 */
    cursor: pointer;
    /* 클릭 가능한 손 모양 */
    transition: background-color 0.3s ease;
    /* 배경색 변화 효과 */
}

/* 상태 텍스트 배경색 */
.waiting {
    background-color: #ffeb3b;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
}

.approved {
    background-color: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
}

.rejected {
    background-color: #f44336;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
}

.btn:hover {
    opacity: 0.8;
}

/* 상세 정보 표시 스타일 */
.details {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.details img {
    max-width: 150px;
    border-radius: 8px;
    margin-right: 10px;
}

.details .store-photos img {
    margin-top: 10px;
    max-width: 200px;
    margin-right: 10px;
    border-radius: 8px;
}

.details .store-photos {
    display: flex;
    flex-wrap: wrap;
}

/* 텍스트 입력창 스타일 */
.inspection-msg {
    width: 100%;
    /* 전체 너비에 맞게 설정 */
    max-width: 500px;
    /* 최대 너비 고정 */
    height: 120px;
    /* 고정 높이 */
    padding: 10px;
    /* 여백 */
    font-size: 16px;
    /* 글자 크기 */
    border: 2px solid #ccc;
    /* 테두리 스타일 */
    border-radius: 8px;
    /* 테두리 둥글게 */
    box-sizing: border-box;
    /* padding 포함한 너비 계산 */
    resize: none;
    /* 크기 조정 금지 */
    font-family: 'Arial', sans-serif;
    /* 글꼴 설정 */
    background-color: #f9f9f9;
    /* 배경색 */
    transition: border-color 0.3s ease;
    /* 테두리 색상 변경 효과 */
}

/* 입력창에 포커스 시 테두리 색상 변경 */
.inspection-msg:focus {
    border-color: #5f9ea0;
    /* 포커스 시 색상 */
    outline: none;
    /* 기본 외곽선 제거 */
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .inspection-msg {
        max-width: 100%;
        /* 화면 크기가 작아지면 너비 100%로 설정 */
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    table {
        width: 100%;
    }

    h1 {
        font-size: 24px;
    }

    .details img {
        max-width: 100px;
    }
}

/* 지도 스타일 */
#map {
    width: 100%;
    height: 400px;
}

/* 탭 내용 영역 스타일 */
.tab-contents {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

body {
    padding-top: 80px;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #FFFBF2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-character {
    width: 50px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.top-bar-logo {
    font-size: 32px;
    font-weight: 700;
    color: #FF7830;
    letter-spacing: -0.5px;
}

.top-bar-menu {
    display: flex !important;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.top-bar-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    white-space: nowrap;
}

.top-bar-menu a:hover {
    color: #FF7830;
}

@media (max-width: 768px) {
    .top-bar-menu {
        gap: 15px;
    }

    .top-bar-menu a {
        font-size: 14px;
        padding: 8px 8px;
    }
}

.landing-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .landing-section {
        padding: 60px 20px;
    }
}

.hero-section {
    text-align: center;
    padding: 120px 40px 60px 40px;
    background: linear-gradient(135deg, #FF7830 0%, #FF5A1F 100%);
    color: white;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF7830;
}

.footer-info {
    text-align: center;
    line-height: 1.8;
}

.footer-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FF7830;
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.hero-section p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.section-content {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 80px;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
}

.section-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FF7830;
}

.section-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.section-images {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.section-images img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.section-images img:hover {
    transform: translateY(-5px);
}


.map-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.map-section p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.gift-section {
    text-align: center;
    padding: 80px 40px;
    background: #ffecd2;
    border-radius: 20px;
    margin: 40px 0;
}

.gift-section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.gift-section p {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}

.download-section {
    text-align: center;
    padding: 80px 40px;
    background: white;
}

.download-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 120px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.app-button {
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-button.ios {
    background: #000;
    color: white;
}

.app-button.android {
    background: #3DDC84;
    color: white;
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.owner-button {
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    background: white;
    color: #333;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.owner-button:hover {
    background: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #FF7830;
    font-weight: 700;
}


.image-placeholder {
    width: 100%;
    height: 300px;
    background: #FFFBF2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #FFFBF2 0%, #FFE8D7 100%);
    border-radius: 20px;
    margin: 40px 0;
}

.map-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.map-section p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.gift-section {
    text-align: center;
    padding: 80px 40px;
    background: #FFE8D7;
    border-radius: 20px;
    margin: 40px 0;
}

.gift-section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.gift-section p {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}

.download-section {
    text-align: center;
    padding: 80px 40px;
    background: white;
}

.download-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.owner-button {
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    background: white;
    color: #333;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.owner-button:hover {
    background: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.three-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-section {
        margin-left: 0;
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section h2 {
        font-size: 24px;
    }

    .section-content {
        flex-direction: column;
    }

    .three-images {
        grid-template-columns: 1fr;
    }

}