@font-face {
    font-family: '나눔고딕';
    src: url('./NanumGothic.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    min-width: 1300px;
}

header {
    min-width: 1230px;
    background: #697683;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 20px;
}

.top-buttons {
    min-width: 1230px;
    margin: 10px 20px;
    text-align: right;
    display: flex;
    justify-content: space-between;
}

.top-buttons button {
    padding: 5px 10px;
    margin-left: 5px;
}

.buttons-left {
    display: flex;
}

.buttons-right {
    display: flex;
}

.v-line {
    border-left: thin solid #9ca2a7;
    height: 30px;
    margin-left: 5px;
}

.container {
    display: flex;
    padding: 20px;
}

.left-panel {
    width: calc(100% - 620px);
    min-width: 600px;
    background: white;
    padding: 20px;
    margin-right: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.left-panel-left {
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: 0 20px 0 0;
}

.left-panel-right {
    width: 50%;
    float: right;
    box-sizing: border-box;
    padding: 0 0 0 20px;
}

.left-panel-bottom {
    clear: both;
    margin-top: 20px;
}

.right-panel {
    width: 600px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    margin-bottom: 10px;
}

.form-group label {
    width: 100px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    flex: 1;
    padding: 5px;
}

#spreadsheet-container {
    height: 400px;
    border: 1px solid #ccc;
    margin-top: 20px;
}

.section-title {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 20px;
}

.upload-box {
    margin-bottom: 15px;
}

.upload-box label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.upload-box input {
    width: 100%;
}

#preview {
    height: 100%;
}

button {
    background: linear-gradient(135deg, #9ca2a7, #8693a0);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.5px;
}

button:hover {
    background: linear-gradient(135deg, #a9b4b2, #a6c9c2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:disabled {
    background: #ccc;
    color: #777;
    cursor: not-allowed;
    box-shadow: none;
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    height: 80%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.modal-close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

/* 스프레드시트 컨테이너 */
#customerListContainer {
    flex: 1;
    overflow: auto;
}

#customerListSpread {
    flex: 1;
    margin-top: 16px;
    overflow: auto;
    height: 100%;
    border: 1px solid #ccc;
    margin-top: 20px;
}

#fileInput {
    display: none;
}