/* Template login 4 */

:root {
    --background-image-url: url('../images/background.jpg');
    --button-color: rgba(218, 98, 0, 0.7);
    --error-color: red;
    --input-bg-color: transparent;
    --input-focus-bg-color: transparent;
    --input-shadow-color: rgba(0, 0, 0, 0.3);
    --logo-width: 100%;
    --text-color: black;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: var(--background-image-url);
    background-size: cover;
    height: 100vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text-color);
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 10px;
    animation: fadeIn 1s ease-in-out;
}

.error {
    color: var(--error-color);
    margin-top: 5px;
}

.footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    font-size: 12px;
}

header {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    animation: slideInDown 1s ease-in-out;
}

.input-field {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease forwards;
}

.input-field .input {
    height: 45px;
    width: 81%;
    border: none;
    outline: none;
    border-radius: 30px;
    color: var(--text-color);
    padding: 0 15px 0 50px;
    background: var(--input-bg-color);
    transition: background-color 0.3s, box-shadow 0.3s;
    animation: slideInLeft 1s ease-in-out;
}

.input-field .input:focus {
    background: var(--input-focus-bg-color);
    box-shadow: 0 0 10px var(--input-shadow-color);
}

.input-field .input:focus + i {
    left: 25px;
}

.input-field i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--text-color);
    transition: left 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.logo {
    width: var(--logo-width);
}

.logo-container {
    position: absolute;
    top: 20px;
    right: 20px;
}

.logo-container img {
    width: 100px;
}

span {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    animation: fadeIn 1s ease-in-out;
}

.submit {
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    height: 45px;
    width: 100%;
    outline: none;
    background: var(--button-color);
    color: white;
    cursor: pointer;
    transition: .3s;
    animation: fadeIn 1s ease-in-out;
    box-shadow: 0 0 10px var(--input-shadow-color);
}
