.notifications-wrapper {
    position: fixed;
    top: 20px; 
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast-notification {
    display: flex;
    align-items: stretch;
    width: 350px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0; 
    transform: translateX(100%);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.notification-bar {
    width: 5px;
    flex-shrink: 0;
}

.notification-icon-wrapper {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.notification-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; 
    font-size: 16px;
}

.notification-content {
    padding: 15px 10px 15px 0; 
    flex-grow: 1;
}

.notification-title {
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 1em;
}

.notification-message {
    font-size: 0.9em;
    color: #6c757d;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.progress-indicator {
    height: 100%;
    width: 100%;
    transform-origin: right;
    animation-play-state: paused;
}

.toast-notification.show .progress-indicator {
    animation-name: progress-countdown;
    animation-duration: var(--toast-duration, 4s); 
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-play-state: running;
}

@keyframes progress-countdown {
    from { width: 100%; }
    to { width: 0%; }
}

.notification-success .notification-bar { background-color: #28a745; }
.notification-success .notification-icon { background-color: #28a745; } 
.notification-success .notification-title { color: #28a745; }
.notification-success .progress-indicator { background-color: #28a745; }

.notification-error .notification-bar { background-color: #dc3545; }
.notification-error .notification-icon { background-color: #dc3545; } 
.notification-error .notification-title { color: #dc3545; }
.notification-error .progress-indicator { background-color: #dc3545; }

.notification-warning .notification-bar { background-color: #ffc107; }
.notification-warning .notification-icon { 
    background-color: #ffc107; 
    color: #343a40;
} 
.notification-warning .notification-title { color: #ffc107; }
.notification-warning .progress-indicator { background-color: #ffc107; }

.notification-info .notification-bar { background-color: #17a2b8; }
.notification-info .notification-icon { background-color: #17a2b8; } 
.notification-info .notification-title { color: #17a2b8; }
.notification-info .progress-indicator { background-color: #17a2b8; }

.btn-success { background-color: #28a745; color: white; }
.btn-success:hover { background-color: #1e7e34; }

.btn-error { background-color: #dc3545; color: white; }
.btn-error:hover { background-color: #bd2130; }

.btn-warning { background-color: #ffc107; color: #212529; }
.btn-warning:hover { background-color: #e0a800; }

.btn-info { background-color: #17a2b8; color: white; }
.btn-info:hover { background-color: #117a8b; }

.area-teste-botoes {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 50px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.test-buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}