/* ============================================================================
   Review Notice (SecureGate Captcha Lite)
   ========================================================================== */
.securegate-review-notice {
    padding: 24px !important;
    border-left: 4px solid #6366f1 !important; /* Matches --sg-primary */
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start; /* Changed from center to align top for better text flow */
    border-radius: 8px; /* Slightly more rounded to match theme */
    margin: 20px 0 20px 0;
    position: relative; /* Ensure absolute children are positioned relative to this */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.securegate-review-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.securegate-review-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #eef2ff; /* Matches --sg-primary-light */
    border-radius: 12px; /* Matches theme radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1; /* Matches --sg-primary */
}

.securegate-review-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #6366f1;
}

.securegate-review-text {
    flex: 1;
    padding-right: 40px; /* Space for the close button */
}

.securegate-review-text h3 {
    margin: 0 0 8px 0 !important;
    font-size: 18px;
    font-weight: 600;
    color: #111827; /* Matches --sg-gray-900 */
    line-height: 1.4;
}

.securegate-review-text p {
    margin: 0 0 16px 0 !important;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563; /* Matches --sg-gray-600 */
    max-width: 800px;
}

.securegate-review-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.securegate-review-actions .button {
    height: 38px;
    line-height: 36px;
    padding: 0 18px;
    font-size: 13px;
    border-radius: 8px; /* Matches theme radius */
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sg-rate-now-btn {
    background-color: #6366f1 !important; /* Matches --sg-primary */
    border-color: #6366f1 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sg-rate-now-btn:hover {
    background-color: #4f46e5 !important; /* Matches --sg-primary-hover */
    border-color: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(99, 102, 241, 0.3);
}

.securegate-maybe-later-btn,
.securegate-already-did-btn {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important; /* Matches --sg-gray-200 */
    color: #374151 !important; /* Matches --sg-gray-700 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.securegate-maybe-later-btn:hover,
.securegate-already-did-btn:hover {
    border-color: #d1d5db !important;
    color: #111827 !important;
    background: #f9fafb !important;
    transform: translateY(-1px);
}

/* Fix Close Button Position */
.securegate-review-notice .notice-dismiss {
    position: absolute;
    top: 15px !important;
    right: 15px !important;
    text-decoration: none;
    opacity: 0.4;
    padding: 10px;
    width: auto;
    height: auto;
    transition: opacity 0.2s;
}

.securegate-review-notice .notice-dismiss:before {
    background: none;
    color: #6b7280; /* Gray 500 */
    font-family: dashicons;
    content: "\f158";
    font-size: 16px; /* Slightly smaller, cleaner look */
}

.securegate-review-notice .notice-dismiss:hover {
    opacity: 1;
    color: #ef4444; /* Hover red for dismiss */
}
.securegate-review-notice .notice-dismiss:hover:before {
    color: #ef4444;
}

/* Hide default notice styles ensure flex layout handles content */
.securegate-review-notice p:empty {
    display: none;
}
/* ============================================================================
   Dashboard Notice (SecureGate Captcha Lite)
   ========================================================================== */
.sgc-dashboard-notice {
    position: relative !important;
    border-left: 4px solid #6366f1 !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    margin: 16px 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.sgc-dashboard-notice-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.sgc-dashboard-notice-content {
    flex: 1;
}

.sgc-dashboard-notice-title {
    margin: 0 0 8px 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.sgc-dashboard-notice-text {
    margin: 0 0 14px 0 !important;
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
}

.sgc-dashboard-upgrade-btn {
    background: #6366f1 !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 10px 24px !important; /* Perfected padding */
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3) !important;
    text-shadow: none !important;
    border-radius: 15px !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    line-height: normal !important;
    font-size: 14px !important;
}

.sgc-dashboard-upgrade-btn:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4) !important;
    color: #fff !important;
}
