/* Base Alert Structure */
.caw-alert {
    display: flex;
}

.caw-alert-icon {
    display: inline-flex;
    align-items: center;
}

.caw-alert-content {
    flex: 1;
}

/* Top Icon Style */
.caw-style-top-icon {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.caw-style-top-icon .caw-alert-icon {
    margin-bottom: 12px;
}

/* Left Icon Style (default) */
.caw-style-left-icon {
    flex-direction: row;
}
.caw-style-left-icon .caw-alert-icon {
    margin-right: 15px;
}

/* Right Icon Style */
.caw-style-right-icon {
    flex-direction: row-reverse;
}
.caw-style-right-icon .caw-alert-icon {
    margin-left: 10px;
}

/* Modern Card Alert */
.caw-style-modern-card {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caw-style-modern-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.caw-style-modern-card .caw-alert-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.caw-style-modern-card:hover .caw-alert-icon {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.caw-style-modern-card .caw-alert-content {
    text-align: left;
    padding-top: 10px;
}

.caw-style-modern-card h3 {
    margin-top: 5px;
    margin-bottom: 12px;
    font-size: 1.3em;
}

.caw-style-modern-card p {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Optional decorative element */
.caw-style-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6);
}

/* Base Alert Styles */
.caw-alert-box {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
/* Dismissible Button */
.caw-alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.caw-alert-close:hover {
    opacity: 1;
}

