/* ===== PAGE STRUCTURE ===== */
body {
  background: var(--primary-bg, #0a0a0f);
  color: var(--text-primary, #ffffff);
  min-height: 100vh;
}

.submit-evidence-main {
  height: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding: 8rem 1rem 2rem 1rem;
}

/* Mobile adjustment for section navigation spacing */
@media (max-width: 768px) {
  .submit-evidence-main {
    margin-top: 26px;
  }
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== PLACEHOLDER CONTENT ===== */
.rules-placeholder,
.game-selection-placeholder,
.upload-placeholder,
.timestamp-placeholder,
.submission-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
}

.rules-placeholder p,
.game-selection-placeholder p,
.upload-placeholder p,
.timestamp-placeholder p,
.submission-placeholder p {
  color: #888;
  font-style: italic;
  margin: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #64ffda, #4fd3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FILE UPLOAD SECTION ===== */
.section {
  padding: 40px 20px;
  animation: fadeIn 0.8s ease-out;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  color: #b0b0b0;
}

/* ===== SECTION CONTENT ===== */
.section-content {
  width: 100%;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1.2rem;
  color: #b0b0b0;
  text-align: center;
  margin-bottom: 30px;
}

/* ===== RULES SECTION ===== */
.rules-content {
  margin-bottom: 2rem;
}

/* ===== WARNING SECTIONS ===== */
.warning-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.critical-warnings {
  border-left-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.submission-requirements {
  border-left-color: #64ffda;
  background: rgba(100, 255, 218, 0.05);
}

.warning-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.warning-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.warning-icon {
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
  margin-top: 0.1rem;
}

.warning-text {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

.warning-text strong {
  color: #fff;
  font-weight: 600;
}

.community-impact {
  border-left-color: #4fd3b8;
  background: rgba(79, 211, 184, 0.05);
}

/* ===== CHECKBOX STYLES ===== */
.accept-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.accept-checkbox input[type='checkbox'] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.accept-checkbox input[type='checkbox']:checked + .checkmark {
  background: #64ffda;
  border-color: #64ffda;
}

.accept-checkbox input[type='checkbox']:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a0a0a;
  font-weight: bold;
  font-size: 0.8rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.rule-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: #4a90e2;
}

.rule-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.rule-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.rule-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.rule-card p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* ===== BUTTON STATES (Used by JavaScript) ===== */
.btn-enabled {
  opacity: 1 !important;
  cursor: pointer !important;
}

.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.btn-success {
  background: #4caf50 !important;
  border-color: #4caf50 !important;
}

/* ===== ACCEPT RULES SECTION ===== */
.accept-rules-section {
  background: rgba(74, 144, 226, 0.1);
  border: 2px solid rgba(74, 144, 226, 0.3);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  appearance: none;
  border: 2px solid #4a90e2;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.custom-checkbox:checked {
  background: #4a90e2;
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.checkbox-label {
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ===== PROGRESS INDICATOR ===== */
.progress-container {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 63.5%;
  right: -36.5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.progress-step.active:not(:last-child)::after {
  background: #64ffda;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: #64ffda;
  color: #0a0a0a;
}

.step-label {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  font-weight: 500;
}

.progress-step.active .step-label {
  color: #64ffda;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #64ffda, #4fd3b8);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ===== CONTINUE BUTTONS ===== */
.btn-continue,
.btn-submit {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #64ffda, #4fd3b8);
  color: #0a0a0a;
}

.btn-continue:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #4fd3b8, #64ffda);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 255, 218, 0.3);
}

.btn-continue:disabled,
.btn-submit:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== GAME INFO SECTION ===== */
.game-info-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.required {
  color: #e74c3c;
}

.form-control,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #3a3a4a;
  border-radius: 8px;
  background: #2a2a3a;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-select option {
  background: #2a2a3a;
  color: #e0e0e0;
  padding: 8px;
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-control:invalid,
.form-input:invalid,
.form-select:invalid {
  border-color: #ff6b6b;
}

.form-label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Required and Optional field indicators */
.required-field {
  color: #ff6b6b;
  font-weight: bold;
  margin-left: 0.25rem;
}

.optional-field {
  color: #74c0fc;
  font-weight: normal;
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.mandatory-indicator {
  color: #ff6b6b;
  font-weight: bold;
  margin-left: 0.25rem;
}

.form-help {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-top: 5px;
}

/* Verification Status */
.verification-status {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.status-icon {
  font-size: 1.2rem;
}

.status-text {
  color: #e0e0e0;
  font-weight: 500;
}

.status-description {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-alert {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ff6b6b;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.form-control:valid {
  border-color: #2ecc71;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== CHARACTER COUNTER ===== */
.char-counter {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-top: 5px;
  text-align: right;
}

.char-counter-error {
  color: #ff6b6b !important;
}

.char-counter-warning {
  color: #ffd700 !important;
}

.char-counter-success {
  color: #4caf50 !important;
}

/* ===== GAME SELECTION ===== */
.game-selection-container {
  margin-bottom: 30px;
}

.steam-games-section,
.non-steam-games-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.steam-api-status {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-message {
  flex: 1;
}

/* ===== VIDEO UPLOAD SECTION ===== */
.upload-content {
  text-align: center;
}

.upload-area {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 2px dashed rgba(74, 144, 226, 0.5);
  border-radius: 15px;
  padding: 60px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #4a90e2;
  background: linear-gradient(145deg, #1e1e32, #1a1a3e);
}

.upload-area.drag-over {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
}

/* ===== UPLOAD STATES ===== */
.upload-progress-container,
.upload-success-container,
.upload-error-container {
  text-align: center;
  padding: 40px;
}

.upload-progress-header {
  margin-bottom: 20px;
}

.uploaded-filename,
.upload-filename {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

.uploaded-size,
.upload-size {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #64ffda, #4fd3b8);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.upload-progress-text {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.upload-success-icon {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.uploaded-file-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

.upload-error-text {
  color: #ff6b6b;
  margin-bottom: 20px;
}

.upload-icon {
  font-size: 4rem;
  color: #4a90e2;
  margin-bottom: 20px;
}

.upload-text h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.upload-text p {
  color: #b0b0b0;
  margin-bottom: 20px;
}

.btn-browse {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-browse:hover {
  background: linear-gradient(135deg, #357abd 0%, #2968a3 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.file-input {
  display: none;
}

/* ===== FILE INFO DISPLAY ===== */
.file-info {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  display: none;
}

.file-info.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.file-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 600;
}

.file-name i {
  color: #2ecc71;
}

.file-size {
  color: #b0b0b0;
}

.btn-remove {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #e74c3c;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-remove:hover {
  background: rgba(231, 76, 60, 0.3);
  border-color: #e74c3c;
}

/* ===== TIMESTAMP SECTION ===== */
.timestamp-container,
.timestamps-container {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.timestamp-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.timestamp-item {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.timestamp-item:hover {
  border-color: #4a90e2;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* HTML uses timestamp-entry, not timestamp-item */
.timestamp-entry {
  background: rgba(78, 205, 196, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.timestamp-entry:hover {
  border-color: rgba(78, 205, 196, 0.3);
  background: rgba(78, 205, 196, 0.08);
}

.timestamp-row {
  display: grid;
  grid-template-columns: 150px 150px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timestamp-input-group,
.description-input-group {
  flex: 1;
}

.timestamp-label {
  display: block;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.timestamp-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.start-time,
.end-time {
  width: 100%;
}

.timestamp-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.timestamp-inputs {
  flex: 1;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  align-items: center;
}

.time-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.time-input:focus {
  outline: none;
  border-color: #4a90e2;
  background: rgba(255, 255, 255, 0.08);
}

.description-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #3a3a4a;
  border-radius: 8px;
  background: #2a2a3a;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
  resize: none; /* Disable manual resize for auto-expand */
  min-height: 60px;
  overflow: hidden; /* Hide scrollbar */
  line-height: 1.4;
}

.description-input:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.description-input:invalid {
  border-color: #ff6b6b;
}

.timestamp-actions {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.btn-add-timestamp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(78, 205, 196, 0.1);
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 8px;
  color: #4ecdc4;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-timestamp:hover {
  background: rgba(78, 205, 196, 0.2);
  border-color: rgba(78, 205, 196, 0.5);
  transform: translateY(-1px);
}

.btn-add-timestamp:active {
  transform: translateY(0);
}

/* Remove timestamp button */
.btn-remove-timestamp {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 8px;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-remove-timestamp:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.5);
  color: #ff6b81;
  transform: scale(1.05);
}

.btn-remove-timestamp:active {
  transform: scale(0.95);
}

/* Hide remove button on first timestamp entry */
.timestamp-entry:first-child .btn-remove-timestamp {
  display: none;
}

/* Responsive design for timestamp section */
@media (max-width: 768px) {
  .timestamp-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timestamp-entry {
    padding: 1rem;
    padding-right: 3.5rem; /* Space for delete button */
  }

  .timestamp-input-group,
  .description-input-group {
    width: 100%;
  }

  .btn-remove-timestamp {
    top: 0.75rem;
    right: 0.75rem;
  }

  .timestamp-input,
  .description-input {
    width: 100%;
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

@media (max-width: 480px) {
  .timestamp-entry {
    padding: 0.75rem;
    padding-right: 3rem; /* Space for delete button */
  }

  .timestamp-input,
  .description-input {
    width: 100%;
    padding: 1rem;
  }

  .btn-add-timestamp {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Further adjust delete button for small screens */
  .btn-remove-timestamp {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    padding: 0.25rem;
  }
}

/* ===== CONVICTION TYPE STYLES ===== */
.conviction-type-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(78, 205, 196, 0.1);
}

.conviction-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.conviction-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.conviction-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.conviction-btn.active {
  color: #fff;
  font-weight: 600;
}

.conviction-btn.conviction-cheater.active {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.conviction-btn.conviction-griefer.active {
  background: rgba(230, 126, 34, 0.2);
  border-color: #e67e22;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
}

.conviction-btn i {
  font-size: 1rem;
}

.conviction-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.conviction-error.hidden {
  display: none;
}

@media (max-width: 768px) {
  .conviction-buttons {
    flex-direction: column;
  }

  .conviction-btn {
    width: 100%;
  }
}

/* ===== ADDITIONAL INFO SECTION ===== */
.additional-info-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.info-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  color: #ffffff;
  font-size: 1rem;
  min-height: 150px;
  resize: vertical;
  transition: all 0.3s ease;
}

.info-textarea:focus {
  outline: none;
  border-color: #4a90e2;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== TIER SELECTION SECTION ===== */
.tier-selection {
  margin-bottom: 30px;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.tier-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tier-card.selected {
  border-color: #4a90e2;
}

.tier-card.selected::before {
  content: '✓';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: #4a90e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.tier-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.tier-card.normal .tier-icon {
  color: #4a90e2;
}

.tier-card.boosted .tier-icon {
  color: #ffd700;
}

.tier-card.vip .tier-icon {
  color: #c0c0c0;
}

.tier-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.tier-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.tier-card.normal .tier-price {
  color: #4a90e2;
}

.tier-card.boosted .tier-price {
  color: #ffd700;
}

.tier-card.vip .tier-price {
  color: #c0c0c0;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tier-features li {
  padding: 10px 0;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features i {
  color: #2ecc71;
  flex-shrink: 0;
}

/* ===== REVIEW SECTION ===== */
.review-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.review-grid {
  display: grid;
  gap: 25px;
}

.review-item {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.review-label {
  color: #4a90e2;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.review-value {
  color: #ffffff;
  font-size: 1.1rem;
}

/* ===== SUBMIT BUTTON ===== */
.submit-section {
  text-align: center;
  padding: 40px 20px;
}

.btn-submit {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  border: none;
  padding: 18px 50px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit:enabled {
  opacity: 1;
  pointer-events: auto;
}

.btn-submit:enabled:hover {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.btn-submit:disabled {
  cursor: not-allowed;
}

/* ===== SECTION LOCKING ===== */
.section.locked {
  opacity: 0.5;
  pointer-events: none;
}

.section.locked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .section {
    padding: 20px 15px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .rules-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .tier-cards {
    grid-template-columns: 1fr;
  }

  .timestamp-inputs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .file-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .upload-area {
    padding: 40px 20px;
  }

  .upload-icon {
    font-size: 3rem;
  }

  .tier-card {
    padding: 20px;
  }

  .tier-icon {
    font-size: 2.5rem;
  }
}

/* ===== LOADING STATES ===== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #4a90e2;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== SUCCESS/ERROR STATES ===== */
.success-message {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealSection {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(74, 144, 226, 0.5);
  border-radius: 6px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 144, 226, 0.7);
}

/* ===== PROGRESSIVE DISCLOSURE STYLES ===== */
.form-section {
  margin-bottom: 3rem;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.form-section.hidden {
  display: none;
}

.form-section.revealed {
  display: block;
  animation: revealSection 0.5s ease;
}

.form-section.active {
  display: block;
}

@keyframes revealSection {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION CONTENT CONTAINERS ===== */
.section-content {
  width: 100%;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.section-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Ensure the first section is always visible on load */
#section-rules {
  display: block !important;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.required-note {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ===== SECTION NAVIGATION STYLES ===== */
/* Mobile first approach - start with mobile styles */

/* Base mobile styles */
.section-navigation {
  position: sticky;
  top: 140px; /* Position below breadcrumbs */
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  padding: 0.75rem 0;
  width: 100%;
}

.section-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.current-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #ccc;
  font-size: 0.85rem;
  justify-content: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.current-section-label {
  color: #888;
  font-size: 0.8rem;
}

.current-section-name {
  color: #64ffda;
  font-weight: 600;
}

.section-dropdown {
  position: relative;
  width: 100%;
}

.section-dropdown-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  width: 100%;
}

.section-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.section-dropdown-btn i {
  transition: transform 0.3s ease;
}

.section-dropdown-btn.active i {
  transform: rotate(180deg);
}

.section-dropdown-menu {
  display: none; /* Hidden by default - JS will show on click */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0 0 0;
  margin-top: 0.5rem;
  box-shadow: none;
  backdrop-filter: none;
}

.section-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

.section-link:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section-link.active {
  background: rgba(100, 255, 218, 0.15);
  color: #64ffda;
  border-left-color: #64ffda;
}

.section-link.disabled {
  color: #666;
  cursor: not-allowed;
}

.section-link i:first-child {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.section-link span {
  flex: 1;
  font-weight: 500;
  font-size: 0.9rem;
}

.section-status {
  font-size: 0.8rem;
}

.section-link.active .section-status {
  color: #64ffda;
}

.section-link.disabled .section-status {
  color: #555;
}

/* Desktop styles (769px and above) - Override mobile styles */
@media (min-width: 769px) {
  .section-navigation {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    width: 280px;
    max-height: 80vh;
    overflow-y: auto;
    transition: height 0.3s ease;
    overflow: hidden;
  }

  /* Navigation collapsed state - 144px height */
  .section-navigation.nav-collapsed {
    height: 144px;
  }

  /* Navigation expanded state - auto height */
  .section-navigation.nav-expanded {
    height: auto;
    max-height: 80vh;
  }

  /* Hide dropdown menu when collapsed, show when expanded */
  .section-navigation.nav-collapsed .section-dropdown-menu {
    display: none;
  }

  .section-navigation.nav-expanded .section-dropdown-menu {
    display: block;
  }

  .section-nav-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
  }

  .current-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #ccc;
    font-size: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
  }

  .current-section-label {
    color: #888;
    font-size: 0.8rem;
  }

  .section-dropdown {
    position: relative;
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    height: auto;
    transition: height 0.3s ease;
  }

  .section-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background: transparent;
    border: none;
  }

  .section-dropdown-menu {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    transition: none;
    transform: none;
  }

  .section-link {
    border-radius: 6px;
    margin-bottom: 0.25rem;
    padding: 0.875rem 1rem;
  }
}

/* Tablet styles (768px and below) - Convert to horizontal sticky */
@media (max-width: 768px) {
  .section-navigation {
    position: sticky;
    top: 190px; /* Position below breadcrumbs - increased from 140px */
    left: auto;
    transform: none;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 0.75rem 0;
    width: 100%;
    max-height: none;
    overflow-y: visible;
  }

  .section-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .current-section {
    justify-content: center;
    font-size: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section-dropdown {
    width: 100%;
  }

  .section-dropdown-btn {
    width: 100%;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
  }

  .section-dropdown-menu {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    transition: none;
    transform: none;
  }

  /* Mobile navigation states */
  .section-navigation.nav-collapsed .section-dropdown-menu {
    display: none;
  }

  .section-navigation.nav-expanded .section-dropdown-menu {
    display: block;
  }

  .section-link {
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    border-radius: 0;
  }
}

/* ===== CSS CLASSES TO REPLACE INLINE STYLING ===== */

/* Button state classes */
.btn-enabled {
  opacity: 1 !important;
  cursor: pointer !important;
}

.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Status icon color classes */
.status-success {
  color: #4caf50 !important;
}

.status-warning {
  color: #ff9800 !important;
}

.status-error {
  color: #f44336 !important;
}

/* Verification status classes */
.verification-verified {
  background: rgba(40, 167, 69, 0.1) !important;
  border-color: rgba(40, 167, 69, 0.3) !important;
}

.verification-error {
  background: rgba(244, 67, 54, 0.1) !important;
  border-color: rgba(244, 67, 54, 0.3) !important;
}

.verification-processing {
  background: rgba(255, 193, 7, 0.1) !important;
  border-color: rgba(255, 193, 7, 0.3) !important;
}

/* Form field validation classes */
.field-success {
  border-color: #4caf50 !important;
}

.field-warning {
  border-color: #ff9800 !important;
}

.field-error {
  border-color: #f44336 !important;
}

/* Form input validation styles */
.form-input.field-success,
.form-textarea.field-success,
.form-select.field-success {
  border-color: #4caf50 !important;
}

.form-input.field-warning,
.form-textarea.field-warning,
.form-select.field-warning {
  border-color: #ff9800 !important;
}

.form-input.field-error,
.form-textarea.field-error,
.form-select.field-error {
  border-color: #f44336 !important;
}

/* Focus states for form inputs with validation */
.form-input.field-success:focus,
.form-textarea.field-success:focus,
.form-select.field-success:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-input.field-warning:focus,
.form-textarea.field-warning:focus,
.form-select.field-warning:focus {
  border-color: #ff9800 !important;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.form-input.field-error:focus,
.form-textarea.field-error:focus,
.form-select.field-error:focus {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* Display utility classes */
.show-element {
  display: block !important;
}

.hide-element {
  display: none !important;
}

/* Height utility classes */
.auto-height {
  height: auto !important;
}

.reset-height {
  height: initial !important;
}

/* Progress bar utility - handled above */

/* Textarea height utility */
.description-input {
  height: var(--textarea-height, auto);
  transition: height 0.2s ease;
}

/* Upload progress text utility */
.upload-progress-text {
  font-size: 14px;
  margin-top: 10px;
  opacity: 0.8;
}

/* Notification utility classes */
.error-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #ff4444;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
  max-width: 300px;
}

.success-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #44ff44;
  color: #0a0a0a;
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
  max-width: 300px;
}

/* ===== MISSING FORM ALERT STYLES ===== */
.form-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(255, 152, 0, 0.1);
  border: 1px solid #ff9800;
  border-radius: 6px;
  color: #ffb74d;
  font-size: 0.875rem;
  animation: slideDown 0.3s ease-out;
}

.form-alert .alert-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.form-alert .alert-message {
  flex: 1;
  font-weight: 500;
}

.form-alert.hidden {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== STEAM API STATUS STYLES ===== */
.steam-api-status {
  margin-top: 8px;
  padding: 0;
}

.status-message {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border-left: 4px solid;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.status-message.success {
  color: #4caf50;
  border-left-color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.status-message.error {
  color: #f44336;
  border-left-color: #f44336;
  background: rgba(244, 67, 54, 0.1);
}

.status-message.warning {
  color: #ff9800;
  border-left-color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
}

.status-message.info {
  color: #2196f3;
  border-left-color: #2196f3;
  background: rgba(33, 150, 243, 0.1);
}

.status-message.processing {
  color: #ff9800;
  border-left-color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* ===== SUBMISSION TIER STYLES ===== */
.submission-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Submission Tier Cards Container */
.submission-tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== NORMAL CASE CARD ===== */
.add-normal-case-card {
  background: linear-gradient(145deg, #2a2a3e 0%, #1e1e32 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.add-normal-case-card:hover {
  border-color: rgba(74, 144, 226, 0.5);
  background: linear-gradient(145deg, #2e2e42 0%, #222236 100%);
  transform: translateY(-3px);
}

.add-normal-case-card .add-case-content {
  text-align: center;
  color: #ffffff;
}

.add-normal-case-card .add-case-icon {
  font-size: 3rem;
  color: #4a90e2;
  margin-bottom: 1rem;
}

.add-normal-case-card .add-case-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.add-normal-case-card .add-case-text p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.normal-case-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.normal-case-btn:hover {
  background: linear-gradient(135deg, #357abd 0%, #2968a3 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* ===== BOOSTED CASE CARD ===== */
.add-boosted-case-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 15px;
  border: 2px dashed rgba(255, 215, 0, 0.4);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.add-boosted-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-boosted-case-card:hover {
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.add-boosted-case-card:hover::before {
  opacity: 1;
}

.add-boosted-case-card .add-case-content {
  text-align: center;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

.add-boosted-case-card .add-case-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.add-boosted-case-card .add-case-icon i {
  animation: boostPulse 2s infinite;
}

@keyframes boostPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.add-boosted-case-card .add-case-text h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.add-boosted-case-card .add-case-text p {
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.boost-case-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.boost-case-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #fff700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ===== VIP CASE CARD ===== */
.add-vip-case-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 15px;
  border: 2px dashed rgba(192, 192, 192, 0.4);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.add-vip-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(192, 192, 192, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-vip-case-card:hover {
  border-color: rgba(192, 192, 192, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(192, 192, 192, 0.2);
}

.add-vip-case-card:hover::before {
  opacity: 1;
}

.add-vip-case-card .add-case-content {
  text-align: center;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

.add-vip-case-card .add-case-icon {
  font-size: 4rem;
  color: #c0c0c0;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.add-vip-case-card .add-case-icon i {
  animation: crownPulse 2s infinite;
}

@keyframes crownPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.add-vip-case-card .add-case-text h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.add-vip-case-card .add-case-text p {
  color: #c0c0c0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.vip-case-btn {
  background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(192, 192, 192, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.vip-case-btn:hover {
  background: linear-gradient(45deg, #e8e8e8, #f5f5f5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .submission-tier-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .submit-evidence-main {
    margin-top: 26px;
  }

  .form-section {
    padding: 2rem;
  }

  .submission-tier-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .add-boosted-case-card,
  .add-vip-case-card,
  .add-normal-case-card {
    max-width: 100%;
    margin: 0;
    min-height: 250px;
    padding: 1.5rem;
  }

  .add-boosted-case-card .add-case-icon,
  .add-vip-case-card .add-case-icon {
    font-size: 3rem;
  }

  .add-normal-case-card .add-case-icon {
    font-size: 2.5rem;
  }

  .form-select,
  .form-input,
  .form-textarea {
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .steam-games-section,
  .non-steam-games-section {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 1.5rem;
  }

  .add-boosted-case-card,
  .add-vip-case-card,
  .add-normal-case-card {
    min-height: 220px;
    padding: 1rem;
  }

  .add-boosted-case-card .add-case-icon,
  .add-vip-case-card .add-case-icon {
    font-size: 2.5rem;
  }

  .add-normal-case-card .add-case-icon {
    font-size: 2rem;
  }

  .add-boosted-case-card .add-case-text h4,
  .add-vip-case-card .add-case-text h4 {
    font-size: 1.2rem;
  }

  .boost-case-btn,
  .vip-case-btn,
  .normal-case-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .form-select,
  .form-input,
  .form-textarea {
    padding: 1rem;
  }

  .steam-games-section,
  .non-steam-games-section {
    padding: 0.75rem;
  }
}

/* ===== TIMESTAMP SECTION STYLES ===== */
.timestamp-container {
  margin: 1.5rem 0;
}

.timestamp-entry {
  background: rgba(78, 205, 196, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.timestamp-entry:hover {
  border-color: rgba(78, 205, 196, 0.3);
  background: rgba(78, 205, 196, 0.08);
}

.timestamp-row {
  display: grid;
  grid-template-columns: 150px 150px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timestamp-input-group,
.description-input-group {
  display: flex;
  flex-direction: column;
}

.timestamp-label {
  display: block;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.char-counter {
  font-weight: 400;
  color: #888;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

/* Character counter states */
.char-counter.char-counter-success {
  color: #4ecdc4;
}

.char-counter.char-counter-warning {
  color: #ff9800;
}

.char-counter.char-counter-error {
  color: #ff6b6b;
}

/* Legacy support for existing timestamp counters */
.char-counter.valid {
  color: #4ecdc4;
}

.char-counter.invalid {
  color: #ff6b6b;
}

.timestamp-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #3a3a4a;
  border-radius: 8px;
  background: #2a2a3a;
  color: #e0e0e0;
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
  text-align: center;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
}

.timestamp-input:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.timestamp-input:invalid {
  border-color: #ff6b6b;
}

/* Field validation styles for timestamp inputs */
.timestamp-input.field-success {
  border-color: #4caf50 !important;
}

.timestamp-input.field-warning {
  border-color: #ff9800 !important;
}

.timestamp-input.field-error {
  border-color: #f44336 !important;
}

/* Focus states for timestamp inputs with validation */
.timestamp-input.field-success:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.timestamp-input.field-warning:focus {
  border-color: #ff9800 !important;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.timestamp-input.field-error:focus {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.description-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #3a3a4a;
  border-radius: 8px;
  background: #2a2a3a;
  color: #e0e0e0;
  font-size: 0.95rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
  resize: none; /* Disable manual resize for auto-expand */
  min-height: 60px;
  overflow: hidden; /* Hide scrollbar */
  line-height: 1.4;
}

.description-input:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.description-input:invalid {
  border-color: #ff6b6b;
}

/* Field validation styles for description inputs */
.description-input.field-success {
  border-color: #4caf50 !important;
}

.description-input.field-warning {
  border-color: #ff9800 !important;
}

.description-input.field-error {
  border-color: #f44336 !important;
}

/* Focus states for description inputs with validation */
.description-input.field-success:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.description-input.field-warning:focus {
  border-color: #ff9800 !important;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.description-input.field-error:focus {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* Checkbox validation styles */
.accept-checkbox.field-success .checkmark {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.accept-checkbox.field-error .checkmark {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.1);
}

/* File upload area validation styles */
#fileUploadArea.field-success {
  border-color: #4caf50 !important;
  background: rgba(76, 175, 80, 0.02);
}

#fileUploadArea.field-error {
  border-color: #f44336 !important;
  background: rgba(244, 67, 54, 0.02);
}

.timestamp-actions {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.btn-add-timestamp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(78, 205, 196, 0.1);
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 8px;
  color: #4ecdc4;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-timestamp:hover {
  background: rgba(78, 205, 196, 0.2);
  border-color: rgba(78, 205, 196, 0.5);
  transform: translateY(-1px);
}

.btn-add-timestamp:active {
  transform: translateY(0);
}

/* Remove timestamp button */
.btn-remove-timestamp {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 8px;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-remove-timestamp:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.5);
  color: #ff6b81;
  transform: scale(1.05);
}

.btn-remove-timestamp:active {
  transform: scale(0.95);
}

/* Hide remove button on first timestamp entry */
.timestamp-entry:first-child .btn-remove-timestamp {
  display: none;
}

/* Responsive design for timestamp section */
@media (max-width: 768px) {
  .timestamp-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timestamp-entry {
    padding: 1rem;
    padding-right: 3.5rem; /* Space for delete button */
  }

  .timestamp-input-group,
  .description-input-group {
    width: 100%;
  }

  .btn-remove-timestamp {
    top: 0.75rem;
    right: 0.75rem;
  }

  .timestamp-input,
  .description-input {
    width: 100%;
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

@media (max-width: 480px) {
  .timestamp-entry {
    padding: 0.75rem;
    padding-right: 3rem; /* Space for delete button */
  }

  .timestamp-input,
  .description-input {
    width: 100%;
    padding: 1rem;
  }

  .btn-add-timestamp {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Further adjust delete button for small screens */
  .btn-remove-timestamp {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    padding: 0.25rem;
  }
}

/* ===== VIDEO UPLOAD SECTION ===== */
.upload-container {
  max-width: 100%;
  margin: 0 auto;
}

/* YouTube Consent Notice */
.youtube-consent-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.consent-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.consent-content {
  flex: 1;
}

.consent-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffc107;
  margin: 0 0 0.5rem 0;
}

.consent-text {
  color: #e0e0e0;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed rgba(100, 255, 218, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-upload-area:hover {
  border-color: rgba(100, 255, 218, 0.5);
  background: rgba(100, 255, 218, 0.05);
  transform: translateY(-2px);
}

.file-upload-area.drag-over {
  border-color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  transform: scale(1.02);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.upload-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.upload-subtitle {
  color: #64ffda;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}

.upload-requirements {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  text-align: left;
  display: inline-block;
}

.upload-requirements p {
  margin: 0.5rem 0;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}

.upload-requirements strong {
  color: #64ffda;
}

.upload-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.btn-upload {
  background: linear-gradient(135deg, #64ffda, #4fd3b8);
  color: #000;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

.btn-upload:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
  background: linear-gradient(135deg, #4fd3b8, #64ffda);
}

.btn-upload:active {
  transform: translateY(-1px);
}

.btn-upload i {
  font-size: 1.1rem;
}

/* Upload Progress Container */
.upload-progress-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.upload-filename {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.upload-size {
  color: #ccc;
  font-size: 0.9rem;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Upload progress fill styles consolidated above */

.upload-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upload-progress-text span {
  color: #ccc;
  font-size: 0.9rem;
}

.btn-cancel-upload {
  background: transparent;
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel-upload:hover {
  background: #ff6b6b;
  color: #fff;
}

/* Upload Success Container */
.upload-success-container {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4caf50;
  margin: 0 0 0.5rem 0;
}

.success-text {
  color: #e0e0e0;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.uploaded-file-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
}

.uploaded-filename {
  font-weight: 600;
  color: #fff;
}

.uploaded-size {
  color: #ccc;
  font-size: 0.9rem;
}

.upload-success-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn-delete-video {
  background: transparent;
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-delete-video:hover {
  background: #ff6b6b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-delete-video:active {
  transform: translateY(0);
}

.btn-delete-video i {
  font-size: 0.9rem;
}

/* Upload Error Container */
.upload-error-container {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f44336;
  margin: 0 0 0.5rem 0;
}

.error-text {
  color: #e0e0e0;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.btn-try-again {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-try-again:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Delete Confirmation Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #2a2a2a;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  margin: 0 0 1rem 0;
  color: #ccc;
  line-height: 1.5;
}

.modal-warning {
  color: #ff9800;
  font-weight: 500;
  background: rgba(255, 152, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
}

.modal-actions {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-modal-cancel {
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-modal-delete {
  background: #ff6b6b;
  color: #fff;
  border: 1px solid #ff6b6b;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-modal-delete:hover {
  background: #ff5252;
  border-color: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-modal-delete:active {
  transform: translateY(0);
}

.btn-modal-delete i {
  font-size: 0.9rem;
}

/* Mobile responsive for uploads and modal */
@media (max-width: 768px) {
  .youtube-consent-notice {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .consent-icon {
    font-size: 1.5rem;
  }

  .file-upload-area {
    padding: 2rem 1rem;
  }

  .upload-icon {
    font-size: 2.5rem;
  }

  .upload-title {
    font-size: 1.1rem;
  }

  .upload-requirements {
    text-align: center;
    font-size: 0.85rem;
  }

  .upload-progress-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .upload-progress-text {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .uploaded-file-info {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body,
  .modal-actions {
    padding: 1rem 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-modal-cancel,
  .btn-modal-delete {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .file-upload-area {
    padding: 1.5rem 0.75rem;
  }

  .upload-title {
    font-size: 1rem;
  }

  .btn-upload {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .upload-requirements {
    padding: 0.5rem;
  }

  .upload-requirements p {
    font-size: 0.8rem;
  }

  .btn-upload {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {
  .section-nav-container {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .current-section {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.5rem;
  }

  .section-dropdown-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .section-link {
    padding: 0.625rem 0.75rem;
    gap: 0.5rem;
  }

  .section-link span {
    font-size: 0.85rem;
  }
}

/* Extra small mobile (360px and below) */
@media (max-width: 360px) {
  .section-navigation {
    top: 100px;
  }

  .current-section-label,
  .current-section-name {
    font-size: 0.75rem;
  }

  .section-dropdown-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .section-link {
    padding: 0.5rem 0.6rem;
  }

  .section-link span {
    font-size: 0.8rem;
  }
}

/* ===== DYNAMIC STYLE UTILITIES ===== */
/* Progress bar dynamic width using data attribute */
.upload-progress-fill[data-progress] {
  width: attr(data-progress percentage);
  transition: width 0.3s ease;
}

/* Alternative progress bar implementation using CSS classes */
.progress-0 {
  width: 0%;
}
.progress-10 {
  width: 10%;
}
.progress-20 {
  width: 20%;
}
.progress-30 {
  width: 30%;
}
.progress-40 {
  width: 40%;
}
.progress-50 {
  width: 50%;
}
.progress-60 {
  width: 60%;
}
.progress-70 {
  width: 70%;
}
.progress-80 {
  width: 80%;
}
.progress-90 {
  width: 90%;
}
.progress-100 {
  width: 100%;
}

/* Textarea auto-height using data attribute */
.description-input[data-height] {
  height: attr(data-height px);
}

/* Auth loading overlay styles */
.auth-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  font-family: 'Rajdhani', sans-serif;
}

.auth-loading-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  border: 1px solid #4a90e2;
}

.auth-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #4a90e2;
  border-top: 3px solid transparent;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: authSpin 1s linear infinite;
}

@keyframes authSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.auth-loading-text {
  margin: 0;
  font-size: 18px;
}

/* Improved custom alert styles for cyberpunk theme */
.custom-alert-success {
  background: linear-gradient(135deg, #1a2e1a 0%, #2d442d 100%);
  border: 2px solid #4ecdc4;
  box-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
}

.custom-alert-loading {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border: 2px solid #4a90e2;
  box-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
  padding: 40px;
}

/* Improved loading spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(78, 205, 196, 0.2);
  border-top: 4px solid #4ecdc4;
  border-radius: 50%;
  animation: modernSpin 1s ease-in-out infinite;
}

@keyframes modernSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Improved progress bar styles in alerts */
.custom-alert-box .upload-progress-bar {
  margin-top: 20px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.custom-alert-box .upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ecdc4 0%, #64ffda 100%);
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

/* Improved button styles for custom alerts */
.custom-alert-success .custom-alert-button {
  background: linear-gradient(135deg, #4ecdc4 0%, #64ffda 100%);
  color: #0a0a0f;
  border: none;
  padding: 12px 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
}

.custom-alert-success .custom-alert-button:hover {
  background: linear-gradient(135deg, #64ffda 0%, #4ecdc4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(78, 205, 196, 0.6);
}

/* Fix upload progress bar visibility */
.upload-progress-fill {
  width: 0%;
  max-width: 100%;
  transition: width 0.5s ease;
}

/* Support class-based approach for progress */
.upload-progress-fill.progress-active {
  width: 0%;
  transition: width 0.3s ease;
}

/* Ensure progress classes override default width */
.upload-progress-fill.progress-0 {
  width: 0% !important;
}
.upload-progress-fill.progress-10 {
  width: 10% !important;
}
.upload-progress-fill.progress-20 {
  width: 20% !important;
}
.upload-progress-fill.progress-30 {
  width: 30% !important;
}
.upload-progress-fill.progress-40 {
  width: 40% !important;
}
.upload-progress-fill.progress-50 {
  width: 50% !important;
}
.upload-progress-fill.progress-60 {
  width: 60% !important;
}
.upload-progress-fill.progress-70 {
  width: 70% !important;
}
.upload-progress-fill.progress-80 {
  width: 80% !important;
}
.upload-progress-fill.progress-90 {
  width: 90% !important;
}
.upload-progress-fill.progress-100 {
  width: 100% !important;
}

/* Auto-hide animation for messages */
.auto-hide {
  animation: fadeOutAfterDelay 5s forwards;
}

.auto-hide-fast {
  animation: fadeOutAfterDelay 3s forwards;
}

@keyframes fadeOutAfterDelay {
  0%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}
