/* public/css/notification-box.css */

/* Base styles for the notification box */
.sleek-notification-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* High z-index to overlay everything */
    background: linear-gradient(135deg, #ffffff, #f0f0f0); /* Sleek gradient background */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Modern shadow for depth */
    padding: 20px;
    max-width: 420px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; /* Modern system font stack */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
    overflow: hidden;
    display: none; /* Hide initially to prevent flash */
}

/* Title styles */
.sleek-notification-title {
    margin: 0 0 10px 0;
    font-size: 3rem; /* 18px */
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
}

/* Content styles */
.sleek-notification-content {
    margin: 0;
    font-size: 2rem; /* 16px, increased for larger appearance */
    color: #555555;
    line-height: 1.5;
}

/* Minimize button */
.sleek-minimize-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    overflow: hidden;
}

.sleek-minimize-btn:hover {
    color: #333;
}

/* Minimized state */
.sleek-notification-box.minimized {
    width: 50px;
    height: 50px;
    max-width: none;
    border-radius: 50%;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sleek-notification-box.minimized .sleek-minimize-btn,
.sleek-notification-box.minimized .sleek-notification-title,
.sleek-notification-box.minimized .sleek-notification-content {
    display: none;
}

.sleek-notification-box.minimized::before {
    content: '!';
    font-size: 2rem;
    color: #333333;
    font-weight: bold;
}

/* Hover effect for interactivity */
.sleek-notification-box:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sleek-notification-box {
        max-width: 90%;
        right: 5%;
        bottom: 15px;
        padding: 15px;
    }

    .sleek-notification-title {
        font-size: 2rem;
    }

    .sleek-notification-content {
        font-size: 0.9375rem; /* 15px */
    }

    .sleek-notification-box.minimized {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .sleek-notification-box {
        bottom: 10px;
        padding: 12px;
    }

    .sleek-notification-box.minimized {
        width: 40px;
        height: 40px;
    }

    .sleek-notification-box.minimized::before {
        font-size: 1.25rem;
    }
}
