#bodydiv {
overflow: auto;
}

.userava {
  background-repeat: no-repeat;
  float: left;
  background-size: 140%;
  background-position: top;
  width: 70px;
  height: 85.5px;
}

.userbox {
  float: left;
  background-color: white;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  margin-left: 5px;
  margin-right: 5px;
  height: 130px;
  max-height: 130px;
  max-width: 70px;
}

.userbox p {
  font-size: 14px;
  margin-bottom: 0px;
  margin-top: 0px;
}

a {
  text-decoration: none;
  color: black;
}

.userava-out {
  filter: grayscale(100%);
  background-repeat: no-repeat;
  float: left;
  background-size: 140%;
  background-position: top;
  width: 70px;
  height: 85.5px;
}

#castbar {
  width: 100%;
  overflow: auto;
}

#timer {
  display: inline;
}

textarea {
  width:85%;
}

/* comments */

.smallava {
  background-repeat: no-repeat;
  margin-right: 10px;
  float: left;
  background-size: 130%;
  background-position: top;
  width: 130px;
  height: 132.7px;
  border-radius: 50%;
  zoom: 70%;
}

#commentsec h2 {
  border-bottom: 2px dotted #e0ccff;
}

.comm {
  background-color: #f5f5f5;
  padding: 4px 0px 0px 10px;
  box-shadow: 5px 7px 2px 0px rgb(183 183 183 / 82%);
  margin-bottom: 15px;
  border-radius: 6px;
  min-height: 50.5px;
}

/* Private message styling */
.comm.private-message {
  background-color: #f0e6ff;
  border-left: 4px solid #8a2be2;
}

.private-indicator {
  font-size: 12px;
  color: #8a2be2;
  font-weight: bold;
  margin-left: 120px;
  display: block;
  margin-bottom: 5px;
}

.private-controls {
  margin: 10px 0;
}

.private-controls label {
  display: block;
  margin-bottom: 5px;
}

.private-controls select {
  margin-left: 10px;
}

.details {
  text-align: right;
  margin-bottom: 1px;
}
.userdetails {
  font-size: 14px;
  display: inline;
}
.timedetails {
  font-size: 12px;
  display: inline;
  color: #b5b5b5;
}

.conty {
  margin-left: 120px;
  white-space: pre-wrap;
  overflow-y: auto;
  margin-right: 50px;
  min-height: 70.5px;
}

#commentsec {
  width: 50%;
}


/* Enhanced Action Box Styling */
.actionbox {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  border-radius: 15px;
  color: white;
  transition: all 0.3s ease;
}

.actionbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.actionbox h3 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.actionbox #timer {
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

/* Enhanced Nomination Buttons */
.nombtn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 8px 4px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  margin: 5px 0;
  padding: 14px;
  font-size: 16px;
}

.nombtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(238, 90, 82, 0.4);
  background: linear-gradient(45deg, #ff5252, #d84315);
}

.nombtn:active {
  transform: translateY(0);
}

/* POV Discard Button */
.nombtn.discard {
  background: linear-gradient(45deg, #757575, #424242);
  box-shadow: 0 4px 15px rgba(117, 117, 117, 0.3);
}

.nombtn.discard:hover {
  background: linear-gradient(45deg, #616161, #212121);
  box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

/* Enhanced Jury List Styling */
#juryContainer {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e0e7ff;
  margin-top: 30px;
}

#juryContainer h3 {
  color: #4f46e5;
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 2px solid #e0e7ff;
  padding-bottom: 10px;
}

.jury-list {
  background: #f8fafc;
  border: 2px solid #e0e7ff;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  min-height: 120px;
  position: relative;
  transition: all 0.3s ease;
}

.jury-list:empty::after {
  content: "Drag players here to rank them...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94a3b8;
  font-style: italic;
  text-align: center;
}

.jury-item {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  cursor: move;
}

.jury-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.jury-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  justify-content: center;
}

.jury-btn {
  background: linear-gradient(45deg, #4ade80, #22c55e);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
  font-size: 14px;
}

.jury-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
  background: linear-gradient(45deg, #22c55e, #16a34a);
}

.jury-btn:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.save-jury-btn {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  font-size: 16px;
  margin: 10px 5px;
}

.save-jury-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  background: linear-gradient(45deg, #1d4ed8, #1e40af);
}

.reset-jury-btn {
  background: linear-gradient(45deg, #ef4444, #dc2626);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  font-size: 16px;
  margin: 10px 5px;
}

.reset-jury-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  background: linear-gradient(45deg, #dc2626, #b91c1c);
}

/* Responsive Design for Action Box and Jury List */
@media (max-width: 1220px) {

  #commentsec {
  width: 100%;
  }

  .actionbox {
    float: none;
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    min-height: auto;
  }
  
  .nombtn {
    width: 100%;
    margin: 5px 0;
    padding: 14px;
    font-size: 16px;
  }
  
  #juryContainer {
    padding: 15px;
    margin-top: 20px;
  }
  
  .jury-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .jury-btn {
    margin: 5px 0;
    padding: 12px;
    font-size: 16px;
  }
  
  .save-jury-btn,
  .reset-jury-btn {
    width: 100%;
    margin: 8px 0;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .actionbox {
    padding: 15px;
    border-radius: 10px;
  }
  
  .actionbox h3 {
    font-size: 1.1em;
  }
  
  #juryContainer {
    padding: 10px;
    border-radius: 10px;
  }
  
  .jury-list {
    padding: 15px;
    min-height: 100px;
  }
  
  .jury-item {
    padding: 10px 15px;
    font-size: 14px;
  }

  #commentsec {
  width: 100%;
  }
}

#blognav p {
  display: inline-block;
  background-color: red;
  min-width: 22px;
  min-height: 22px;
  text-align: center;
  font-weight: bold;
  background-color: #590cff6e;
  color: white;
}

#commentsec h2 {
  margin-bottom: 0px;
}
