/* 
 * John Caulrick - Custom Premium Toast Notification CSS
 */
#jc-toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none; /* Let clicks pass through container */
}

.jc-toast {
    display: flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 320px;
    max-width: 90vw;
    font-family: var(--jc-font-secondary, sans-serif);
    font-size: 13px;
    letter-spacing: 0.5px;
    pointer-events: auto; /* Catch clicks on the toast itself */
    
    /* Animation start state */
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jc-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.jc-toast.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.jc-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
}

.jc-toast-text {
    flex: 1;
    line-height: 1.5;
}

.jc-toast-close {
    background: transparent;
    border: none;
    color: #888;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
    transition: color 0.3s ease;
}

.jc-toast-close:hover {
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #jc-toast-container {
        top: 20px;
        width: calc(100% - 40px);
    }
    .jc-toast {
        min-width: 100%;
    }
}
