/* Inputs */
.inputContainer {
    width: 100%;
    max-width: 150px;
    margin-right: 35px;
    margin-bottom: 15px;
}

.inputStyler {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inputStyler input {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
    background: white;
    transition: border-color 0.2s;
    width: 100%;
}

.inputStyler input:focus {
    border-color: #1a73e8;
}

.inputStyler label {
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    background: white;
    padding: 0 0.25rem;
    color: #777;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.inputStyler input:focus + label,
.inputStyler input:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.6rem;
    font-size: 0.75rem;
}

.inputStyler input:focus + label {
    color: #1a73e8;
}



/* Text Area */
.areaContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 600px;
}

.areaContainer textarea {
    font-size: 1rem;
    padding: 1rem 0.75rem 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
    background: white;
    transition: border-color 0.2s;
    resize: vertical; /* optional: resize allowed */
    width: 100%;
    min-height: 4rem;
}

.areaContainer textarea:focus {
    border-color: #1a73e8;
}

.areaContainer label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    background: white;
    padding: 0 0.25rem;
    color: #777;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.areaContainer textarea:focus + label,
.areaContainer textarea:not(:placeholder-shown) + label {
    top: -0.3rem;
    left: 0.6rem;
    font-size: 0.75rem;
}

.areaContainer textarea:focus + label {
    color: #1a73e8;
}


/* Little Star */
.duty {
    color: red;
    font-size: 0.75em;
}

/* Error */
.error {
    border-color: red !important;
}

.error:focus + label {
    color: red !important;
}