@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Special+Gothic+Expanded+One&display=swap');

body {
    font-family: 'Special Gothic Expanded One', sans-serif;
    margin: 0;
    background: #E8F4FA;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 55%;
    height: auto;
    min-height: 55%;
    padding: 30px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 30px rgba(37, 37, 37, 0.3), -10px -10px 30px rgba(71, 74, 72, 0.1);
    opacity: 90%;
    transform: translateY(20px);
}

h2 {
    font-size: 2em;
    font-family: 'Special Gothic Expanded One', serif;
    color: #000000;
    letter-spacing: 1.5px;
}

input {
    resize: none;
    border: 1px solid #7e8580;
    padding: 12px;
    width: 40%;
    background: #e4e4e4;
    color: #3d3d3d;
    font-size: 1em;
    margin: 5px 0; 
}

input:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 10px #dfdfdf;
}

.drop-zone {
  margin-top: 15px;
  border: 2px dashed #666;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: background 0.2s;
}

.drop-zone.dragover {
  background: #e0ffe0;
}

#fileList {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-item {
    background: white;
    padding: 10px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    font-size: 0.9em;
}

.file-item button {
  margin-left: 5px;
  padding: 4px 8px;
  font-size: 12px;
  border: none;
  background: #0088cc;
  color: #fff;
  cursor: pointer;
}

.file-item button:hover {
    background-color: #665a5a;
    box-shadow: 0.6px 2.5px #dfdfdf;
    transform: scale(1.05);
    border: 1px solid #adb4af;
}

.file-item button:active {
    background-color: #474a48;
}

/* Upload progress styles */
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-container {
  width: 160px;
  height: 18px;
  background: #eee;
  overflow: hidden;
  border: 1px solid #ddd;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #2e7d32);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}

.cancel-btn {
  padding: 4px 8px;
  font-size: 12px;
  border: none;
  background: #b71c1c;
  color: #fff;
  cursor: pointer;
}

.cancel-btn:hover { background: #7f0000; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 350px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}
