body {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(6, 78, 59, 0.85) 0%, 
        rgba(15, 23, 42, 0.9) 50%,
        rgba(30, 58, 95, 0.85) 100%);
    z-index: 0;
}

.container-fluid {
    position: relative;
    z-index: 1;
}

.login-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-side {
    background: linear-gradient(145deg, 
        rgba(6, 78, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.98) 50%,
        rgba(30, 64, 105, 0.95) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.login-side>* {
    position: relative;
    z-index: 1;
}

.login-form-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.brand-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.brand-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: #10b981;
    width: 20px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background: white;
}

.form-control:hover {
    border-color: #cbd5e1;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0 0.25rem;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.form-control:focus~.form-label,
.form-control:not(:placeholder-shown)~.form-label {
    top: 0;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.form-control::placeholder {
    color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 10px rgba(5, 150, 105, 0.3);
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
}

/* Alert customizado para mensagens de erro */
.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15));
    border: 2px solid #ef4444;
    border-radius: 10px;
    color: #dc2626;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    animation: slideInDown 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.1);
}

.alert-danger .btn-close {
    filter: brightness(0) saturate(100%) invert(32%) sepia(94%) saturate(3523%) hue-rotate(346deg) brightness(92%) contrast(87%);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-check-input:checked {
    background-color: #10b981;
    border-color: #10b981;
    animation: checkboxPop 0.3s ease-out;
}

@keyframes checkboxPop {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-label {
    z-index: 2;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #10b981;
}

.password-toggle:focus {
    outline: none;
}

.password-wrapper .form-control:focus~.form-label,
.password-wrapper .form-control:not(:placeholder-shown)~.form-label {
    top: 0;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.login-header {
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInDown 0.6s ease-out 0.4s both;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #064e3b 0%, #10b981 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: #64748b;
}

@media (max-width: 768px) {
    .login-side {
        display: none;
    }

    .login-container {
        margin: 1rem;
    }

    .login-form-side {
        padding: 2rem;
    }
}

/* Modal Contato Styles */
.modal-overlay-contact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    animation: fadeInOverlay 0.2s ease-out forwards;
}

@keyframes fadeInOverlay {
    to { opacity: 1; }
}

.modal-container-contact {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: slideInModal 0.2s ease-out forwards;
    will-change: transform, opacity;
}

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

.modal-header-contact {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-contact h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close-contact {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.modal-close-contact:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body-contact {
    padding: 32px;
}

.contact-intro {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
}

.contact-option .contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    color: #10b981;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.btn-whatsapp:hover {
    color: #059669;
    text-decoration: underline;
}

.divider-contact {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

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

.divider-contact span {
    background: white;
    padding: 0 16px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.contact-form .form-group-contact {
    margin-bottom: 20px;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.contact-form label i {
    color: #10b981;
}

.form-control-contact {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.15s ease;
    font-family: inherit;
}

.form-control-contact:focus {
    outline: none;
    border-color: #10b981;
}

.form-control-contact::placeholder {
    color: #94a3b8;
}

textarea.form-control-contact {
    resize: vertical;
    min-height: 100px;
}

.modal-actions-contact {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.btn-secondary-contact {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #475569;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-secondary-contact:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-primary-contact {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-contact:hover {
    opacity: 0.9;
}

.btn-primary-contact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Link Esqueceu sua senha */
.forgot-password-link {
    color: #10b981;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #059669;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .modal-container-contact {
        border-radius: 20px 20px 0 0;
    }

    .modal-body-contact {
        padding: 24px 20px;
    }

    .contact-option {
        flex-direction: column;
        text-align: center;
    }

    .modal-actions-contact {
        flex-direction: column-reverse;
    }
}