

/* Base styles */
#gritter-notice-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 301px;
    z-index: 9999;
}

    #gritter-notice-wrapper.top-left {
        left: 20px;
        right: auto;
    }

    #gritter-notice-wrapper.bottom-right {
        top: auto;
        left: auto;
        bottom: 20px;
        right: 20px;
    }

    #gritter-notice-wrapper.bottom-left {
        top: auto;
        right: auto;
        bottom: 20px;
        left: 20px;
    }

.gritter-item-wrapper {
    position: relative;
    margin: 0 0 10px;
}

.gritter-item {
    display: block;
    padding: 2px 11px 8px;
    font-size: 11px;
    font-family: Verdana, sans-serif;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.gritter-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.gritter-item p {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

.gritter-close {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-indent: -9999em;
    background: url(../images/close-icon.png) no-repeat center center;
}

.gritter-image {
    width: 48px;
    height: 48px;
    float: left;
    margin-right: 10px;
}

/* Notification types */
.gritter-success {
    background-color: #28a745; /* Green */
    border-left: 5px solid #218838;
}

.gritter-warning {
    background-color: #ffc107; /* Yellow */
    border-left: 5px solid #e0a800;
    color: #212529;
}

.gritter-info {
    background-color: #17a2b8; /* Blue */
    border-left: 5px solid #117a8b;
}

.gritter-error {
    background-color: #dc3545; /* Red */
    border-left: 5px solid #c82333;
}

/* Gritter light theme */
.gritter-light .gritter-item {
    background-color: #f9f9f9;
    color: #222;
    border-left: 5px solid #ccc;
}

.gritter-light .gritter-success {
    background-color: #e9f7ef;
    color: #155724;
}

.gritter-light .gritter-warning {
    background-color: #fff3cd;
    color: #856404;
}

.gritter-light .gritter-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.gritter-light .gritter-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Hover effect */
.gritter-item-wrapper:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

    /* Close button hover effect */
    .gritter-item-wrapper:hover .gritter-close {
        display: block;
    }
