[data-theme="light-form"] {
    --input-container: #f0f0f0; 
    --border-bottom: #bbb;
    --border-bottom-hover: #f0f0f0;
}

[data-theme="dark-form"] {
    --input-container: rgb(20, 20, 20); 
    --border-bottom: #202020;
    --border-bottom-hover: #666;
    
}

.global-form {
    margin: auto;
}


.global-form .input-container {
    position: relative;
    margin-bottom: 30px;
}

/* Štýly pre input */
.global-form .input-container input {
    width: 100%;
    height: auto;
    padding: 13px 10px 8px 10px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-bottom);
    color: var(--input-container);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.global-form .input-container input:-webkit-autofill {
    
    background-color: transparent !important; /* Pokus o priesvitné pozadie */
    -webkit-text-fill-color: var(--main-text-color); /* Farba textu */
    transition: background-color 5000s ease-in-out 0s; /* Oddialenie vykreslenia farby */
}

.global-form .input-container input:focus {
    border-color: var(--border-bottom-hover);
}

/* Štýly pre label */


/* Pohyb labelu pri focus alebo ak je input vyplnený */
.global-form .input-container input:focus + label,
.global-form .input-container input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-40%);
    font-size: 10px;
    font-weight:600;
    color: var(--input-container);
}

.global-form button:not(.no-style) {
  width: auto;
    height:auto;
  padding: 10px 10px;
  background: none;
  border: none;
  color:var(--input-container);
  font-size: 15px;
    font-family: inherit;
  outline: none;
transition: all .4s ease-in-out;

    
}
.global-form button:not(.no-style):hover {
  color:var(--input-container);
    font-weight:600;
transition: all .4s ease-in-out;
    
}


.global-form textarea {
    width: 100%;
    margin-top:-10px;
    height: 100%;
    padding: 5px 10px 0px 10px;
    background: none;
    min-height:250px;
    border: none;
    border-bottom: 1px solid #666;
    color: var(--input-container);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 3px;
    overflow:hidden;
    transition: height 0.8s ease-in-out;
    resize: none;
}



.global-form .input-container > label.textarea-input {
    position: absolute;
    padding-left:5px;
    bottom:15px;
    left: 0;
    transform: translateY(0px);
    color: var(--input-container);
    font-size: 11px;
    font-weight:300;
    transition: all 0.4s ease-in-out;
    pointer-events: none;
}

.global-form .input-container textarea:focus + label,
.global-form .input-container textarea:not(:placeholder-shown) + label {
    bottom: 100%;
    transform: translateY(-8px);
    font-size: 10px;
    font-weight:400;
    color: var(--input-container);
}

.global-form .input-container > label.input-input {

    transition: all 0.4s ease-in-out;
    position: absolute;
    padding-left:5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: var(--input-container);
    font-size: 11px;
    font-weight:400;
    pointer-events: none;
}