.registration-form {
    min-width: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--tertiary-color);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: var(--secondaryGlass-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    /* Animace */
    animation: fadeIn 1.3s ease-in-out forwards;
    opacity: 0; /* Výchozí stav */
}

.registration-form h1 {
    margin: 10px 0;
}
.registration-form form{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.registration-form form input{
    width: 300px;
    height: 30px;
    margin: 4px 0;
    padding-left: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--input-background);
    font-size: 20px;
}


.factory-box {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* Vertikální zarovnání na střed */
    width: 350px;
    font-size: 15px; 
    margin-left: 20px;
}
.factory-box input[type="checkbox"] {
    width: auto;         /* Odstraní pevnou šířku */
    margin-right: 8px;   /* Přidá mezeru mezi checkboxem a textem */
}

.factory-fields {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.message {
    /* height: 60px; */
    font-size: 20px;
    padding: 8px;
    animation: shadow 1s alternate infinite; 
}
.message a {
    color: var(--text1-color);
}


/* Classy pro JS. */
.valid {
    width: 300px;
    height: 45px;
    text-align: left;
    font-size: 15px;
    margin: 0;
    padding: 0 10px;
}

.invalid {
    width: 300px;
    height: 45px;
    text-align: left;
    font-size: 15px;
    margin: 0;
    padding: 0 10px;
}


.btn-invalid {
    color: var(--text2-color);
    width: 300px;
    height: 45px;
    background-color: var(--tertiary-color);
    border-radius: 12px;
    padding: 0px 0px;
    margin-top: 18px;
    margin-bottom: 15px;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer; /* aby se objevila ručička */ 
    transition: all 0.3s linear;
}
.btn-valid {
    color: var(--text2-color);
    width: 300px;
    height: 45px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 0px 0px;
    margin-top: 18px;
    margin-bottom: 15px;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer; /* aby se objevila ručička */ 
    transition: all 0.3s linear;
}

.btn-valid:hover {
    animation: shadow 1s alternate infinite;
}
.conditions-box {
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    width: 350px;
    font-size: 15px;    
    margin-left: 20px;
}
.conditions-box a {
    color: var(--text2-color);
    font-weight: 800;
}
.conditions-box input[type="checkbox"] {
    width: auto;         /* Odstraní pevnou šířku */
    margin-right: 8px;   /* Přidá mezeru mezi checkboxem a textem */
}
/* Styl pro platný text */
.result-text.valid {
    color: rgb(0, 199, 0);
}

/* Styl pro neplatný text */
.result-text.invalid {
    animation: alert 1s alternate infinite;
}



