body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0; /* MODIFICAT: De la 20px la 0 */
    /* STILURI ȘTERSE PENTRU A PERMITE LAYOUT-UL <main> */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: flex-start; */ 
    min-height: 100vh;
    position: relative; /* Adăugat pentru a fi contextul de poziționare */
    overflow-x: hidden; /* Previne scroll-ul orizontal */
}

* {
    box-sizing: border-box;
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

select:focus {
    outline: none;
    border-color: #27AE60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #27AE60;
    color: #ffffff;
    border-color: #27AE60;
}

.btn-primary:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.regulations-container {
    width: 100%;
    max-width: 1100px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 0;
    z-index: 1; /* Ne asigurăm că formularul este deasupra imaginii */

    /* MODIFICAT: Adăugat pentru a centra cardul în noul .container */
    margin-left: auto;
    margin-right: auto;
}

.regulations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;

    border: none;
}

.header-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title-group h2 {
    font-size: 22px; 
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.header-icon {
    font-size: 20px; 
    color: #27AE60;
}

.help-icon {
    font-size: 24px;
    color: #27AE60;
    cursor: pointer;
}

.regulations-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.velocity-background-logo {
    /* --- AICI SUNT MODIFICĂRILE --- */
    position: absolute; /* 1. Poziționare absolută */
    left: 50%;         /* 2. Centrare pe axa X (partea 1) */
    top: 50%;          /* 3. Poziționare la 70% în jos pe axa Y */
    transform: translate(-50%, -50%); /* 2. Centrare pe axa X (partea 2) */
    
    max-width: 650px;  /* 4. Mărită de la 550px */
    height: auto;
    opacity: 0.55;
    z-index: -1;       /* O trimite în spatele celorlalte elemente */
}

/* Am șters selectorul invalid ".velocity-background-logo img" */


@media (max-width: 768px) {
    .regulations-form {
        grid-template-columns: 1fr;
    }
    
    .header-title-group h2 {
        font-size: 18px;
    }

    
    
    .velocity-background-logo {
        max-width: 300px; 
        top: 80%; /* Ajustat puțin pentru mobil */
    }
}