

/* Success Message Box */

.message-box-dismiss-button
{
    background-color:unset; 
    width: unset;

    color:#000;
    box-shadow: none; 
    margin-left: 4em;
    margin-right: -4em;
}

h3.accm-status-message {
    font-size: 1.2rem;
}

.accm-success-message,
.accm-error-message,
.accm-info-message
{
    position: relative;
 
    max-width: 720px;
    margin: 2em auto;
    padding: 1.5em 4em 1.5em 2em;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;

    display: flex;
    align-items: center;
    gap: 10px;

    opacity: 1;
    transition: opacity 0.4s ease;

    font-size: 18px;
}

.accm-success-message.fade-out,
.accm-error-message.fade-out,
.accm-info-message.fade-out
{
    opacity: 0;
}

/* Paragraph styling inside the error message */
.accm-error-message p,
.accm-error-message p,
.accm-info-message p  
{
    margin: 0;
    font-size: 16px;
}


.accm-success-message {
    color: #009879;
    background-color: #d4edda;
    background-color: #fff;
    border: 1px solid #c3e6cb;
    border: 1px solid #00809bff;
    
}


.accm-success-message::before,
.accm-error-message::before,
.accm-info-message::before {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 1.2em;
    margin-right: 14px;

    font-size: 28px; 
    font-weight: bold;
}


.accm-success-message::before {
    content: "✓";
    background-color: #00809bff;
    color: white;

    background-color: unset;
    color: #28a745;
    
    background-color: #00809bff;
    color: white;

    
    
}


/* Container for the links */
.accm-success-message .accm-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

/* Styling for download links */
.accm-success-message a.accm-download-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1em 10px; 
    text-decoration: none;
    font-size: 1.2em;
}

/* Hover effect only */
.accm-success-message a.accm-download-link:hover {
    text-decoration: underline;
}

/* Styling for the images in links */
.accm-success-message a.accm-download-link img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}


/* Info Message Box - Blue with White Text */
.accm-info-message {
    border: 1px solid #b8daff; /* Slightly darker blue border */
    color: #ffffff; /* White text */
    border: 1px solid #0069d9; /* Slightly darker blue border */
    background-color: #007bff; /* Medium-dark blue background for contrast */
}

.accm-info-message a {
    color: #fff;
    text-decoration: underline;
}

/* Info Message Box - Alternative with Yellow Text */
.accm-info-message.yellow-text {
    color: #ffc107; /* Yellow text */
}


/* High-contrast information indicator */
.accm-info-message::before {
    content: "i";
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: #fff;
    color: #0069d9;
    box-shadow: 0 2px 7px rgba(0, 38, 82, 0.28);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

/* Error Message Box */
.accm-error-message {
    background-color: #f8d7da; /* Light red background, similar to Bootstrap’s danger alert */
    border: 1px solid #f5c6cb; /* Slightly darker red border */
    color: #721c24; /* Dark red text for contrast */
}

.accm-error-message::before {
    content: "✗"; 
    background-color: #dc3545;
    color: white;
}

@media (max-width: 600px) {
    .accm-success-message,
    .accm-error-message,
    .accm-info-message {
        width: 100%;
        margin: 1rem 0;
        padding: 1rem;
        gap: 0.5rem;
        align-items: flex-start;
        font-size: 1rem;
    }

    .accm-success-message::before,
    .accm-error-message::before,
    .accm-info-message::before {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin-right: 0.25rem;
        font-size: 20px;
    }

    .message-box-dismiss-button {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: -0.375rem -0.375rem -0.375rem auto;
        padding: 0;
    }

    .accm-success-message .accm-links-container {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
    }
}

