body {
    background-color: #121212;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    margin: 0;
    overflow: hidden;
}

 /* 네비게이션 바 스타일 */
 .navbar {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 80px;
    width: 100%;
    background-color: #000;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.navbar-title {
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding-left: 20px;
}

/* 컨텐츠가 네비 아래에 보이도록 여백 추가 */
.container {
    margin-top: 100px;
}
  
.container {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    width: 800px;
    height: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.container.dragover {
    border: 2px dashed rgb(14, 207, 241);
    background-color: #222;
}


.title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
  
.subtitle {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
}
  
/* 업로드 박스 스타일 */
.upload-box {
    display: flex;
    flex-direction: column;       /* 세로 방향 정렬 */
    align-items: center;          /* 가로 정렬 가운데 */
    justify-content: center;      /* 세로 정렬 가운데 */  
    height: 400px;
    max-height: 400px;         /* 전체 upload 박스 높이 제한 */
    border: 2px dashed #444;
    /* padding: 40px; */
    padding-right: 30px;
    border-radius: 10px;
    background-color: #2a2a2a;
    /* margin-bottom: 30px; */
    overflow: hidden;          /* 내부 스크롤용 */
}
.upload-box p {
    margin-top: 15px;
    font-size: 13px;
    color: #bbb;
}

/* 파일전송 사용자정보 */
.user-info {
    display: flex;
    justify-content: center;       /* 가로 중앙 정렬 */
    align-items: center;           /* 세로 정렬 (선택) */
    gap: 20px;                     /* 항목 간 간격 */
    margin-bottom: 20px;
}
.user-info label {
    font-weight: bold;
    /* margin-top: 8px; */
}
.user-info input {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
#email {
    width: 250px;
}

/* 파일 리스트 스타일 */
#fileList {
    width: 100%;
    max-height: 300px;         /* 리스트 영역 제한 */
    overflow-y: auto;          /* 세로 스크롤 자동 생성 */
    /* margin-top: 10px; */
    /* padding-right: 10px; */
}
#fileList::-webkit-scrollbar {
    width: 6px;
}
#fileList::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}
#fileList::-webkit-scrollbar-track {
    background-color: transparent;
}
 
/* 파일 리스트 항목 스타일 */
.file-item {
    display: flex;
    justify-content: space-between; /* 좌우 정렬 */
    align-items: center;
    padding: 6px 12px;
    margin-top: 8px;
    margin-right: 10px;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-size: 14px;
    color: #333;
}
.file-item span {
    flex: 1;               /* 왼쪽 정보 영역 확장 */
    word-break: break-all; /* 긴 파일명 줄바꿈 */
}  
.file-item button {
    margin-left: 12px;
    padding: 4px 8px;
    font-size: 12px;
    background-color: #ff6961;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* MyComputer 버튼 호버 효과 */
#mycomputer {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
} 
#mycomputer:hover {
    background-color: #0056b3;
}    
/* 업로드 버튼 호버 효과 */
#uploadBtn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}  
#uploadBtn:hover {
    background-color: #218838;
}  

/* 드래그 앤 드롭 영역 스타일 */
.dropbox-icon {
    margin: 20px 0;
} 
.dropbox-icon img {
    width: 24px;
    height: 24px;
}

/* 업로드 버튼 스타일 */
#uploadBtn {
    display: none;
}
  
/* 업로드 진행 바 스타일 */
#progressContainer {
    width: 100%;
    height: 20px;
    margin-left: 25px;
    background-color: #444;
    border-radius: 10px;
    margin-top: 20px;
    display: none; /* 기본적으로 숨김 */
}
#progressBar {
    height: 20px;
    border-radius: 10px;
    background-color: #28a745;
    width: 0%;
}

.footer {
    display: flex;
    flex-direction: column;       /* 세로 방향 정렬 */
    align-items: center;          /* 가로 정렬 가운데 */
    justify-content: center;      /* 세로 정렬 가운데 */  
    font-size: 12px;
    color: #888;
}
.footer a {
    color: #888;
    text-decoration: underline;
}
  