/**
 * Push Notifications Styles
 *
 * Styles for the push notification button and temporary notification messages.
 */

/* Push notification button */
#push-notification-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#push-notification-button.btn-primary {
    background-color: #007bff;
    color: white;
}

#push-notification-button.btn-primary:hover {
    background-color: #0056b3;
}

#push-notification-button.btn-secondary {
    background-color: #6c757d;
    color: white;
}

#push-notification-button.btn-secondary:hover {
    background-color: #5a6268;
}

#push-notification-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Temporary notification messages */
.push-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 350px;
}

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

.push-notification-success {
    border-left: 4px solid #28a745;
    color: #155724;
}

.push-notification-info {
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.push-notification-error {
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .push-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    #push-notification-button {
        font-size: 13px;
        padding: 8px 16px;
    }
}
