@charset "utf-8";

:root{
    --cor1:#0c6938;
    --cor2:#30ad2a;
    --cor3:#FFD700;
    --cor4:#000000;
    --cor5:#ffffff;
    --cor6:#f5f5f5;
    --fonte: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family:var(--fonte);
    background: linear-gradient(135deg, #a8e6a3 0%, #0f5d0f 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container{
    display: flex;
    min-height: 100vh;
    position: relative;
}

.background-animation{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape{
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1{
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2{
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3{
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float{
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.login-card{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

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

.card-header{
    text-align: center;
    margin-bottom: 40px;
}

.logo{
    width: 30%;
    height: 80px;
    background:var(--cor5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.logo img{
    width: 50%;
}

.card-header h1{
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.card-header p{
    color: #718096;
    font-size: 16px;
    font-weight: 400;
}

.login-form{
    margin-bottom: 30px;
}

.input-group{
    margin-bottom: 20px;
}

.input-wrapper{
    position: relative;
}

.input-wrapper input{
    width: 100%;
    padding: 18px 50px 18px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 18px;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus{
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label{
    transform: translateY(-28px) scale(0.85);
    color: #667eea;
    font-weight: 500;
}

.input-wrapper label{
    position: absolute;
    left: 50px;
    top: 18px;
    color: #a0aec0;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left;
}

.input-icon{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 20px;
    transition: color 0.3s ease;
}

.input-wrapper input:focus ~ .input-icon{
    color: #667eea;
}

.form-info{
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #4a5568;
    text-align: center;
}

.form-info i{
    color: #667eea;
    margin-right: 8px;
}

.login-btn{
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #75a871 0%, #0f5d0f 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.login-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.login-btn:active{
    transform: translateY(0);
}

.login-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loading{
    display: none;
}

.login-btn.loading .btn-text,
.login-btn.loading .btn-icon{
    display: none;
}

.login-btn.loading .btn-loading{
    display: block;
}

.message-container{
    margin-bottom: 20px;
}

.message{
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.message.error{
    background: rgba(245, 101, 101, 0.1);
    color: #c53030;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.message.success{
    background: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.message.info{
    background: rgba(102, 126, 234, 0.1);
    color: #3182ce;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.message.warning{
    background: rgba(237, 137, 54, 0.1);
    color: #c05621;
    border: 1px solid rgba(237, 137, 54, 0.2);
}

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

.card-footer{
    text-align: center;
}

.divider{
    position: relative;
    margin: 20px 0;
    color: #a0aec0;
    font-size: 14px;
}

.divider::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: -1;
}

.divider span{
    background: rgba(255, 255, 255, 0.95);
    padding: 0 15px;
}

.employee-login-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2E8B57;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid #2E8B57;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.employee-login-link:hover{
    background: #2E8B57;
    color: white;
    transform: translateY(-2px);
}

.info-panel{
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
}

.info-panel h2{
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.info-panel p{
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature{
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
}

.feature i{
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@media(max-width: 1024px){
    .container{
        flex-direction: column;
    }
    
    .info-panel{
        order: -1;
        padding: 40px;
        text-align: center;
    }
    
    .info-panel h2{
        font-size: 36px;
    }
    
    .features{
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media(max-width: 768px){
    .container{
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        padding: 20px 0; 
    }

    .login-card{
        margin: 20px;
        padding: 30px;
        width: 90%; 
        max-width: 450px; 
    }
    
    .info-panel{
        order: -1;
        padding: 30px 20px;
        text-align: center;
    }
    
    .info-panel h2{
        font-size: 28px;
    }
    
    .features{
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width: 480px){
   
    .container{
        justify-content: flex-start;
        padding: 0;
    }

     
    .info-panel{
        display: none;
    }

    
    .login-card{
        width: 100%;
        max-width: 100%;
        height: 100vh;
        margin: 0;
        padding: 30px 25px;
        border-radius: 0;
        box-shadow: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-header h1{
        font-size: 24px;
    }

    .card-header p{
        font-size: 15px;
    }

    .input-wrapper input{
        font-size: 16px;
    }
}
