.btn-primary {
    background-color: #7b2cbf;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: white;
    color: #7b2cbf;
    border: 2px solid #7b2cbf;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f3e8ff;
    cursor: pointer;
}

.equal-width-group > .btn-secondary {
    flex: 1 1 200px;   /* All buttons grow/shrink equally */
    min-width: 200px;  /* Minimum readable width */
    max-width: 100%;   /* Prevent overflow */
    text-align: center;
}

@media (max-width: 576px) {
  .equal-width-group > .btn-secondary {
    min-width: 100%;
  }
}


.modal {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
}

.modal.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    max-width: 90%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    text-align: center;
    font-family: 'Noto Sans Tamil', sans-serif;
}

.modal-content.error h2 {
    color: #e53935;
    margin-bottom: 10px;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #7b2cbf;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
}

.modal-content.alert {
    background-color: #fff;
    border: 2px solid #7b2cbf;
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.modal-active .form-container {
    filter: blur(3px);
}

.tob-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.tob-option-group {
    margin-left: 12px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tob-time-input {
  margin-left: 0;        /* Aligns left like DOB */
  margin-top: 6px;
  width: 100%;
}

.tob-time-input input[type="time"] {
  width: 100%;
}

/* Custom radio button color */
input[type="radio"]:checked {
  accent-color: #7b2cbf;  /* Brand color */
}
