.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Ajustat pentru a centra logo-ul */
    background-color: #22223b;
    color: white;
    padding: 40px 20px;
    z-index: 1000; /* Asigură-te că header-ul stă deasupra altor elemente */
}



.register-page {
    display: flex;
    flex-wrap: wrap; /* Permite secțiunilor să se împartă pe rânduri pe ecrane mici */
    position: relative;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}
.text-register {
    width: 500px;
    text-align: justify;
}
.info-section {
    flex: 1;
    background-color: #4a4e69;
    color: rgb(255, 255, 255);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.2em;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    margin: 0; /* Elimină spațiul inutil */
}


.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Formular */
.form-container {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Organizare câmpuri */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.textbox {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

.textbox label {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.textbox input,
.textbox select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Buton */
.btn {
    width: 100%;
    padding: 10px;
    background-color: #4a4e69;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #9a8c98;
}

.sigla{
    display: flex;
    padding-left:160px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Ajustat pentru a centra logo-ul */
    background-color: #22223b;
    color: white;
    padding: 40px 20px;
    z-index: 1000; /* Asigură-te că header-ul stă deasupra altor elemente */
}

/* Responsive design */
@media (max-width: 576px) {
    .info-section {
        padding: 20px;
        clip-path: none; /* Elimină forma pentru telefoane */
        font-size: 1em;
    }

    .form-container {
        max-width: 100%;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 768px) {
    .info-section {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .info-section {
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
        padding: 40px;
    }
}

.header-logo {
    width: 180px; /* Ajustează dimensiunea după cum este necesar */
    height: auto;
    filter: invert(100%);
}

/* Footer */
.main-footer {
    color: rgba(131, 131, 131, 0.77);
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    margin-top: auto;
}

.main-footer a {
    color: #8c8c8c;
    text-decoration: none;
    font-weight: bold;
}

.main-footer a:hover {
    text-decoration: underline;
}
