/* Custom Login Page Styles - iShopZap */

/* Background branco */
.bg-gray.fullfit {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login box improvements */
.login-box {
    margin: 20px auto;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.login-box.box-white {
    padding: 50px 40px;
    border-top: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Logo improvements */
.brand-login img {
    display: block;
    margin: 0 auto 30px auto;
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.brand-login img:hover {
    transform: scale(1.05);
}

/* Form field improvements */
.form-field-icon {
    position: relative;
    margin-bottom: 20px;
}

.form-field-icon input[type="text"],
.form-field-icon input[type="password"] {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    color: #2d3748;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-field-icon input[type="text"]:focus,
.form-field-icon input[type="password"]:focus {
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
    outline: none;
}

.form-field-icon .form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 18px;
    z-index: 2;
}

/* Button improvements */
.form-field-submit {
    text-align: center;
    margin: 30px 0 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-field-submit button {
    width: 100%;
    max-width: 280px;
    padding: 20px 32px;
    background: #22c55e;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    display: block;
    margin: 0 auto;
}

.form-field-submit button:hover {
    transform: translateY(-2px);
    background: #16a34a;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

.form-field-submit button:active {
    transform: translateY(0);
}

/* Checkbox improvements */
.form-field-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0 25px 0;
}

.form-field-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4a5568;
}

.form-field-checkbox span {
    color: #4a5568;
    font-size: 14px;
}

/* Links improvements */
.forgetpass {
    max-width: 100%;
    margin: 30px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.forgetpass a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 120px;
}

.forgetpass a:hover {
    color: #2d3748;
    text-decoration: none;
}

.forgetpass a i {
    margin-right: 6px;
}

/* Message improvements */
.msg {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.msg-error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.msg-done {
    background: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .bg-gray.fullfit {
        padding: 20px;
        box-sizing: border-box;
    }
    
    .login-box {
        margin: 0;
        max-width: 100%;
        width: 100%;
        min-height: auto;
    }
    
    .login-box.box-white {
        padding: 30px 25px;
        margin: 0;
        border-radius: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .brand-login img {
        max-height: 60px;
        margin-bottom: 25px;
    }
    
    .forgetpass {
        gap: 8px;
    }
    
    .forgetpass a {
        display: flex;
        width: 100%;
        max-width: 200px;
        margin: 0;
        padding: 10px 16px;
        text-align: center;
    }
    
    .form-field-icon input[type="text"],
    .form-field-icon input[type="password"] {
        padding: 16px 18px 16px 45px;
        font-size: 16px;
    }
    
    .form-field-submit button {
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* Animation for page load */
.login-box {
    animation: slideUp 0.6s ease-out;
}

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