/* Notification Banner Styles */
.cnb-banner {
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.cnb-top {
    top: 0;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cnb-bottom {
    bottom: 0;
}

.cnb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cnb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cnb-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

div.cnb-banner div.cnb-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    animation: cnb-float 3s ease-in-out infinite;
    flex-shrink: 0;
}

div.cnb-banner div.cnb-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.cnb-text h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.cnb-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cnb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.cnb-btn:active {
    transform: translateY(0);
}

.cnb-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cnb-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Add padding to body when banner is at top */
body.cnb-banner-top {
    padding-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cnb-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .cnb-text {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .cnb-text h2 {
        font-size: 1.1rem;
    }
    
    .cnb-btn {
        width: 100%;
        max-width: 300px;
    }
    
    body.cnb-banner-top {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
	.single .cnb-text h2 {
		margin: 0;
		padding: 0;
		font-size: 14px;
	}
	
	.single .cnb-btn {
		font-size: 12px;
		padding: 10px 20px;
	}
}

/* Animation for banner appearance */
.cnb-banner {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cnb-top {
    animation: slideInTop 0.5s ease-out;
}

@keyframes slideInTop {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* Subtle scale effect instead of movement */
    }
}

@keyframes cnb-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px); /* Reduced movement */
    }
}