/**
 * Prime SEO Review Nudge Notice
 *
 * @package Prime_SEO
 * @since   1.1.5
 */

.prime-seo-review-notice {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.prime-seo-review-notice--hiding {
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0 !important;
    margin: 0;
    overflow: hidden;
}

.prime-seo-review-notice__accent {
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.prime-seo-review-notice__inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    position: relative;
}

.prime-seo-review-notice__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prime-seo-review-notice__icon .dashicons {
    color: #fff;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.prime-seo-review-notice__content {
    flex: 1;
    min-width: 0;
}

.prime-seo-review-notice__heading {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.4;
}

.prime-seo-review-notice__text {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.prime-seo-review-notice__stars {
    display: flex;
    gap: 2px;
    margin: 0 0 16px;
}

.prime-seo-review-notice__stars span {
    color: #f59e0b;
    font-size: 20px;
    line-height: 1;
}

.prime-seo-review-notice__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.prime-seo-review-btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.prime-seo-review-btn--primary:hover,
.prime-seo-review-btn--primary:focus {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
    color: #fff;
}

.prime-seo-review-btn--primary .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.prime-seo-review-btn--secondary {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.prime-seo-review-btn--secondary:hover,
.prime-seo-review-btn--secondary:focus {
    background: #e2e8f0;
    color: #334155;
}

.prime-seo-review-btn--link {
    background: none;
    border: none;
    padding: 10px 4px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.prime-seo-review-btn--link:hover,
.prime-seo-review-btn--link:focus {
    color: #6366f1;
}

.prime-seo-review-notice__author {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    color: #94a3b8;
}

.prime-seo-review-notice__dismiss {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.prime-seo-review-notice__dismiss:hover {
    color: #64748b;
    background: #f1f5f9;
}

.prime-seo-review-notice__dismiss .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
