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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

.left-panel {
    flex: 3;
    background: url("/assets/img/login.svg") no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    background: url("/assets/img/logo_branca.svg") no-repeat center center;
    background-size: contain;
    width: 40%;
    height: 100%;
    display: flex;
}

.right-panel {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: auto;
}

.authentication-form {
    width: 100%;
    max-width: 400px;
}

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

.form-icon {
    width: 60px;
    height: 60px;
    background: url("/assets/img/icone_login.svg") no-repeat center center;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: #666;
    font-size: 16px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
}

.password-group {
    position: relative;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #ff6b35;
}

.authentication-button {
    width: 100%;
    padding: 16px;
    background-color: #FF4306;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 30px;
}

.authentication-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.authentication-button:active {
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        flex: none;
        height: 100vh;
        padding: 20px;
    }

    .authentication-form {
        max-width: none;
    }

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

    .welcome-title {
        font-size: 24px;
    }

    .welcome-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .right-panel {
        padding: 15px;
    }

    .form-input {
        padding: 14px;
    }

    .authentication-button {
        padding: 14px;
    }

    .welcome-title {
        font-size: 22px;
    }
}

/* Animations */
.authentication-form {
    animation: slideUp 0.6s ease;
}

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

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

.logo {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .form-input {
    width: 100%;
    padding-right: 50px;
}

.input-wrapper svg {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    stroke: #666;
    pointer-events: none;
}

.password-group .input-wrapper svg {
    cursor: pointer;
    pointer-events: auto;
}

.password-group .input-wrapper svg:hover {
    stroke: #ff6b35;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.notification.success::before {
    background: #0ab111;
}

.notification.error::before {
    background: #ff0000;
}

.notification.warning::before {
    background: #ffc107;
}

.notification.info::before {
    background: #2196F3;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #0ab111;
}

.notification.error .notification-icon {
    color: #ff0000;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info .notification-icon {
    color: #2196F3;
}

.notification-content {
    flex: 1;
}

.notification-message {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
}

.notification-close {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.notification.hiding {
    animation: slideOut 0.3s ease forwards;
}

/* ========================================
   SISTEMA DE MODAIS (CONFIRMAÇÃO)
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    animation: fadeIn 0.2s ease;
    backdrop-filter: blur(4px);
}

.modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 24px;
    color: #FF4306;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-body {
    padding: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e1e5e9;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.modal-btn-cancel {
    background: #f8f9fa;
    color: #666;
    border-color: #e1e5e9;
}

.modal-btn-cancel:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.modal-btn-confirm {
    background: #FF4306;
    color: white;
    border-color: #FF4306;
}

.modal-btn-confirm:hover {
    background: #e63a00;
    border-color: #e63a00;
}

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

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

@media (max-width: 480px) {
    .notification-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .notification {
        min-width: auto;
    }
}

.ph {
    font-size: 24px;
}