/* Noty-style notifications */
.noty-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Make notification wider when it has validation errors */
.noty-notification:has(.noty-validation-errors),
.noty-has-validation-errors {
    max-width: 500px;
}

.noty-notification.noty-show {
    transform: translateY(0);
    opacity: 1;
}

.noty-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.noty-message {
    flex: 1;
    margin-right: 10px;
    font-weight: bold;
}

.noty-validation-errors {
    margin: 8px 0 0 0;
    padding-left: 20px;
    font-size: 0.9em;
    opacity: 0.9;
}

.noty-validation-errors li {
    margin-bottom: 4px;
}

.noty-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
    opacity: 0.5;
}

.noty-close:hover {
    opacity: 1;
}

/* Notification types */
.noty-error {
    background-color: #f44336;
    color: white;
}

.noty-success {
    background-color: #4CAF50;
    color: white;
}

.noty-warning {
    background-color: #ff9800;
    color: white;
}

.noty-info {
    background-color: #2196F3;
    color: white;
}
