/* Credits Manager Notifications */
.credits-notice-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 999999;
    animation: slideIn 0.3s ease-out;
    transition: all 0.3s ease;
}

.credits-notice {
    position: relative;
    margin: 0 0 15px 0;
    padding: 10px 40px 10px 15px;
    border-left: 4px solid #00a32a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.credits-notice.notice-error {
    border-left-color: #d63638;
}

.credits-notice .notice-content {
    margin: 0.5em 0;
    padding: 2px;
}

.credits-notice .notice-dismiss {
    position: absolute;
    top: 0;
    right: 1px;
    padding: 10px;
    border: none;
    background: transparent;
    color: #787c82;
    cursor: pointer;
}

.credits-notice .notice-dismiss:hover {
    color: #d63638;
}

.credits-notice .notice-dismiss:before {
    background: 0 0;
    color: #787c82;
    content: '\f335';
    display: block;
    font: normal 20px/20px dashicons;
    speak: never;
    height: 20px;
    text-align: center;
    width: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media screen and (max-width: 782px) {
    .credits-notice-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
