/* Syncle Global Styles */
body {
    font-family: 'Inter', sans-serif;
    /* Default to a light background and dark text for the entire app */
    background-color: #f8fafc; /* Tailwind's gray-50 */
    color: #1f2937; /* Tailwind's gray-800 */
}

@view-transition {
  navigation: auto;
}

.gradient-button {
    /* Gradient remains the same, with white text for contrast */
    background: linear-gradient(to top right, #007BFF, #00CFFF);
    color: white; 
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px 0 rgba(0, 123, 255, 0.35);
}

.gradient-button-reversed {
    /* ... (Existing styles from previous response) ... */
    background: white;
    border: 1px solid #e0e0e0; 
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.05);

    /* --- Gradient Text Styling --- */
    background-image: linear-gradient(to top right, #007BFF, #00CFFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; 
}

/* Hover styling added below */
.gradient-button-reversed:hover {
    /* Scale up slightly on hover, matching the original button's feel */
    transform: scale(1.05);
    /* Add a new, slightly more pronounced shadow with a light blue glow */
    box-shadow: 0 6px 20px 0 rgba(0, 123, 255, 0.25);
}

.logo:hover {

    transform: scale(1.05);
    /* Add a new, slightly more pronounced shadow with a light blue glow */
}



.gradient-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px 0 rgba(0, 123, 255, 0.45);
}

.gradient-button-reverse:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px 0 rgba(0, 123, 255, 0.45);
}

.gradient-text {
    background: linear-gradient(to top right, #007BFF, #00CFFF);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Updated form styles for a light theme */
.form-input, .form-select {
    background-color: white;
    border: 1px solid #e2e8f0; /* gray-300 */
    color: #1f2937; /* gray-800 */
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

.form-label {
    color: #374151; /* gray-700 */
}

/* PREVIOUSLY .toggle-button-group input:checked + label */
/* This now applies the gradient to the active button in segmented controls */
.toggle-button-group input:checked + label {
    background: linear-gradient(to top right, #007BFF, #00CFFF);
    color: white;
    border-color: #007BFF;
    box-shadow: 0 2px 8px 0 rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 10;
}

.progress-bar-custom {
    background-color: #007BFF;
}

/* Custom Toggle Switch updated for light theme */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1; /* gray-300 */
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #007BFF;
}

input:checked + .toggle-slider:before {
    transform: translateX(16px);
}

/* Add this to the end of styles.css */
.single-challenge-grid {
    display: flex;
    justify-content: center;
}



.active-toggle {
  background-color: #007BFF;
  color: white;
}

#addParticipantBtn {
  display: none;
}
.subtitle {
  font-weight: bold;
  margin-bottom: 10px;
}
.table-container {
  max-width: 700px;
  margin: 0 auto;
}