.custom-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #1987540f; /* Ton pal inspirat din verde */
    border: 1px solid #19875433;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.08); /* Nuanță subtilă din verde */
    font-family: 'Segoe UI', sans-serif;
}

.form-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #353535;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 48%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2a2a2a;
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #19875447;
    border-radius: 10px;
    background-color: #1987540a;
    color: #333;
    transition: border-color 0.2s ease;
}

.input:focus {
    border-color: #19875459;
    background-color: #fff;
    outline: none;
    color: #212529;
}

.readonly {
    background-color: #19875459;
    font-weight: bold;
    color: #444;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.option-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #19875469;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    background-color: #19875414;
    transition: all 0.2s ease;
    font-weight: 500;
}

.option-box:hover {
    border-color: #19875459;
    background-color: #19875459;
}

.option-box input {
    accent-color: #198754;
}

.submit-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background-color: #146c43; /* Verde închis pentru buton */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    display: block;
}

.submit-button:hover {
    background-color: #198754; /* Verde mediu la hover */
}

.input.readonly {
    background-color: #1987540f !important;
    color: #333 !important;
    font-weight: 600;
    cursor: default;
}

.input.readonly:focus {
    background-color: #1987540f;
    border-color: #c3e6cb; /* Verde pal pentru border la focus */
}

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

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

.alert-success-custom {
    background-color: #d6f2e5;
    color: #166f44;
    border: 1px solid #b6e5cf;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    margin: 1.5rem auto;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 600px;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.alert-error-custom {
    background-color: #fbe6e8;
    color: #842029;
    border: 1px solid #f5c2c7;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    max-width: 600px;
    margin: 1rem auto;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.alert-error-custom li {
    margin-bottom: 0.5rem;
}
.rule-bullet {
  width: 8px;
  height: 8px;
  background-color: #198754;
  border-radius: 50%;
  flex-shrink: 0;
}