/* =====================================================
   SEATNGA 2026 • Important Dates (Centered to 1100px)
   Matches Registration container width
===================================================== */

/* Section spacing and background */
.paper-submission{
  padding: 72px clamp(16px, 4vw, 32px);
  background: linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
  box-sizing: border-box;
}

/* Center block same as registration container (1100px) */
.paper-submission .container-like{
  max-width: 1100px;
  margin: 0 auto;
}

/* ====== ENHANCED HEADINGS ====== */
.paper-submission h3 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: #243658;
  margin-bottom: 35px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: clamp(0.5px, 0.3vw, 1.5px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #243658 0%, #BE2633 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paper-submission h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(60px, 15vw, 100px);
  height: 4px;
  background: linear-gradient(135deg, #BE2633, #243658);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(190, 38, 51, 0.3);
}

.paper-submission h3:hover {
  transform: translateX(10px);
  letter-spacing: clamp(1px, 0.4vw, 2px);
}

.paper-submission h3:hover::after {
  width: clamp(90px, 20vw, 150px);
  box-shadow: 0 6px 20px rgba(190, 38, 51, 0.4);
}

/* ====== SIMPLE & CLEAN TABLE STYLING ====== */
/* Provide a scroll wrapper for narrow screens while keeping center width */
.paper-submission .table-wrap{
  width: 100%;
  border: 1px solid rgba(36,54,88,.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  overflow-x: auto;
}

.paper-submission table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  transition: all 0.3s ease;
  min-width: 520px; /* keeps columns readable on very small screens */
}

.paper-submission table:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.paper-submission table th {
  background: linear-gradient(135deg, #243658, #1e2d4a);
  color: #ffffff;
  padding: 20px 25px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  border-bottom: 3px solid #BE2633;
}

.paper-submission table td {
  padding: 18px 25px;
  color: #4a5568;
  font-weight: 500;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
}

.paper-submission table td:first-child {
  font-weight: 600;
  color: #243658;
}

.paper-submission table td:last-child {
  color: #2d3748;
  font-weight: 600;
}

.paper-submission table tbody tr {
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.paper-submission table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

.paper-submission table tbody tr:hover {
  background: rgba(190, 38, 51, 0.08);
  transform: translateX(3px);
}

.paper-submission table tbody tr:hover td:first-child {
  color: #BE2633;
}

/* ====== RESPONSIVE DESIGN - TABLE ONLY ====== */
@media (max-width: 1200px) {
  .paper-submission table th,
  .paper-submission table td {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .paper-submission { padding: 56px clamp(12px,3vw,20px) }

  .paper-submission table {
    border-radius: 10px;
    margin: 30px 0;
  }

  .paper-submission table th,
  .paper-submission table td {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .paper-submission table th {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .paper-submission table {
    border-radius: 8px;
  }

  .paper-submission table th,
  .paper-submission table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  
  .paper-submission table th {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
}
