/**
 * VoucherURL Module CSS
 * Styles for voucher message notifications
 */

.voucherurl-message {
    position: relative;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.voucherurl-message-text {
    display: block;
    padding-right: 30px;
    font-size: 14px;
    line-height: 1.4;
}

.voucherurl-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.voucherurl-close:hover {
    opacity: 1;
}

/* Message types */
.voucherurl-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.voucherurl-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.voucherurl-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .voucherurl-message {
        margin: 10px;
        padding: 12px;
    }
    
    .voucherurl-message-text {
        font-size: 13px;
    }
} 