/* Captain Widgets Kit — Elementor Notice */

.captwiki-el-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px !important;
    border-left: 4px solid #4A745B !important;
    border-radius: 0 6px 6px 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    position: relative;
}

.captwiki-el-notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4A745B 0%, #6aab80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.captwiki-el-notice-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.captwiki-el-notice-body {
    flex: 1;
    min-width: 0;
}

.captwiki-el-notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1f2e;
    margin: 0 0 4px;
    line-height: 1.4;
}

.captwiki-el-notice-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.55;
}

.captwiki-el-notice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Primary button */
.captwiki-el-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    border: none;
    text-decoration: none;
    outline: none;
    line-height: 1;
}

.captwiki-el-btn--primary {
    background: linear-gradient(135deg, #4A745B 0%, #5d8e70 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(74, 116, 91, 0.35);
}

.captwiki-el-btn--primary:hover {
    background: linear-gradient(135deg, #3d6049 0%, #4f7a60 100%);
    color: #fff;
}

.captwiki-el-btn--primary:disabled,
.captwiki-el-btn--primary.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

/* Dismiss link */
.captwiki-el-dismiss-btn {
    font-size: 12px;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.captwiki-el-dismiss-btn:hover {
    color: #6b7280;
}

/* Spinner inside button */
.captwiki-el-btn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: captwiki-spin 0.65s linear infinite;
}

@keyframes captwiki-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success state */
.captwiki-el-notice--success {
    border-left-color: #059669 !important;
}

.captwiki-el-notice-success-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
}

.captwiki-el-notice-success-msg svg {
    width: 18px;
    height: 18px;
    color: #059669;
    flex-shrink: 0;
}