.post-ui-container {
  width: 100%;
  height: 90%;
  max-width: 600px;
  margin: 40px auto;
}

.box-grid {
  display: flex;
  gap: 20px;
  height: 80%;
  align-items: center;
  justify-content: center;
}

.action-box {
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.action-box:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.label {
  font-size: 16px;
  font-weight: 500;
}

.upload-panel {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #f8f8f8;
  width: 50%;
}

.upload-panel h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
}

.upload-section,
.tags-section {
  margin-bottom: 6px;
}

.upload-section label,
.tags-section label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.tags-section input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.upload-actions {
  display: flex;
  gap: 10px;
}

.upload-actions button {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #1976d2;
  color: white;
  transition: background-color 0.3s ease;
}

.upload-actions button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.upload-actions .pdf-upload-container-close-btn {
  background-color: #dc3545;
}

.upload-info {
  margin-top: 20px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.overlay-panel {
  padding: 40px;
  margin-top: 30px;
  background: #fff9c4;
  border: 2px solid #fbc02d;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.upload-label {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.file-drop-box {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s;
}

.file-drop-box:hover {
  border-color: #6366f1;
  background-color: #f0f4ff;
}

.upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.upload-text {
  display: block;
  font-size: 14px;
  color: #334155;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}


@keyframes pulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.05); opacity: 1; }
}

.upload-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
}

.status-container {
  width: 50%;
  height: 40%;
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 500px;
}

.status-gif {
  opacity: 1;
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
}

.status-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.status-detail {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
}

.status-count {
  font-size: 14px;
  color: #666;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.file-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.remove-file-btn {
  background: none;
  border: none;
  color: gray;
  font-size: 16px;
  cursor: pointer;
}


@media (max-width: 768px) {
    .post-ui-container{
        width: 90%;
    }

    .status-container{
      width: 90%;
      height: 50%;
    }

    .upload-panel{
      width: 90%;
    }
}
