/* Notification Bar Styles */

.mighty-notification-bar {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
}

.mighty-notification-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.mighty-notification-bar-content {
    flex: 1;
    margin: 0;
}

.mighty-notification-bar-content p {
    margin: 0;
    padding: 0;
}

.mighty-notification-bar-content a {
    color: inherit;
    text-decoration: underline;
}

.mighty-notification-bar-content a:hover {
    text-decoration: none;
}

/* Fixed positioning */
.mighty-notification-bar-fixed {
    position: fixed;
    left: 0;
    right: 0;
}

.mighty-notification-bar-fixed.mighty-notification-bar-top {
    top: 0;
}

.mighty-notification-bar-fixed.mighty-notification-bar-bottom {
    bottom: 0;
}

/* Relative positioning */
.mighty-notification-bar-relative {
    position: relative;
}

/* Button styles */
.mighty-notification-bar-button-wrapper {
    flex-shrink: 0;
}

.mighty-notification-bar-button {
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.mighty-notification-bar-button-primary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid currentColor;
}

.mighty-notification-bar-button-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.mighty-notification-bar-button-secondary {
    background-color: transparent;
    border: 2px solid currentColor;
}

.mighty-notification-bar-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mighty-notification-bar-button-text {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    padding: 8px 10px;
}

.mighty-notification-bar-button-text:hover {
    text-decoration: none;
}

/* Close button */
.mighty-notification-bar-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mighty-notification-bar-close:hover {
    opacity: 1;
}

/* Hide animation */
.mighty-notification-bar.mighty-notification-bar-hidden {
    display: none;
}

/* Body padding for fixed top bar */
body.mighty-notification-bar-active-top {
    padding-top: var(--mighty-notification-bar-height, 0);
}

/* Responsive */
@media (max-width: 768px) {
    .mighty-notification-bar {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .mighty-notification-bar-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .mighty-notification-bar-content {
        flex-basis: 100%;
    }
    
    .mighty-notification-bar-button-wrapper {
        flex-basis: calc(100% - 50px);
    }
    
    .mighty-notification-bar-button {
        width: 100%;
        text-align: center;
    }
}
