/* SMS Style Notifications - Reusable Component */
.sms-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 280px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #ffc107;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
}

.sms-notification.show {
    transform: translateX(0);
}

.sms-notification.error {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.2);
    border-left-color: #dc3545;
}

.sms-notification.warning {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
    border-left-color: #ffc107;
    color: #333;
}

.sms-notification.info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 5px 20px rgba(23, 162, 184, 0.2);
    border-left-color: #17a2b8;
}

.sms-notification .sms-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sms-notification .sms-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
}

.sms-notification .sms-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.sms-notification .sms-message {
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
    opacity: 0.9;
    color: #666;
}

.sms-notification .sms-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 6px;
    color: #999;
}

/* Multiple notifications stacking */
.sms-notification+.sms-notification {
    top: 80px;
}

.sms-notification+.sms-notification+.sms-notification {
    top: 140px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sms-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
        padding: 10px 15px;
    }

    .sms-notification.show {
        transform: translateY(0);
    }

    .sms-notification+.sms-notification {
        top: 70px;
    }

    .sms-notification+.sms-notification+.sms-notification {
        top: 120px;
    }
}