/* SK Notice Hider Admin Styles */
.sknh-settings-wrap {
    max-width: 1200px;
}

.sknh-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.sknh-header h2 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sknh-header h2 .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.sknh-header .description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* Main Layout */
.sknh-settings-container {
    display: flex;
    gap: 24px;
    margin: 20px 0;
}

.sknh-main-content {
    flex: 1;
    min-width: 0;
}

.sknh-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* Gradient Sidebar */
.sknh-gradient-sidebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.sknh-gradient-sidebar .sknh-sidebar-widget {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: none;
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.sknh-gradient-sidebar .sknh-sidebar-widget:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.sknh-gradient-sidebar .sknh-sidebar-widget:last-child {
    margin-bottom: 0;
}

.sknh-gradient-sidebar h3 {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
}

.sknh-gradient-sidebar h4 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sknh-gradient-sidebar h4:first-child {
    margin-top: 0;
}

.sknh-gradient-sidebar .sknh-plugin-info p {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.sknh-gradient-sidebar .sknh-plugin-info p:last-child {
    margin-bottom: 0;
}

.sknh-gradient-sidebar .sknh-quick-guide li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.sknh-gradient-sidebar .sknh-quick-guide li:last-child {
    margin-bottom: 0;
}

.sknh-gradient-sidebar .sknh-quick-guide li .dashicons {
    color: #ffd166;
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sknh-gradient-sidebar .sknh-connect-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    transition: all 0.2s ease;
}

.sknh-gradient-sidebar .sknh-connect-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.sknh-gradient-sidebar .sknh-connect-links a .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sknh-gradient-sidebar .sknh-social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.sknh-gradient-sidebar .sknh-social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sknh-gradient-sidebar .button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 15px;
    height: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
}

.sknh-gradient-sidebar .button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sknh-gradient-sidebar .button-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    font-weight: 600;
}

.sknh-gradient-sidebar .button-primary:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 87, 108, 0.3);
}

/* Settings Card */
.sknh-settings-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.sknh-card-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 20px;
}

.sknh-card-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sknh-card-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.sknh-card-body {
    padding: 25px;
}

/* Settings Form */
.sknh-settings-form {
    margin: 0;
}

.sknh-settings-form h2 {
    margin-top: 0;
    color: #2271b1;
}

.sknh-settings-form .form-table {
    margin: 0;
}

.sknh-section-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 6px;
}

.sknh-section-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #6a11cb;
    margin-top: 2px;
}

.sknh-section-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #2c3338;
}

.sknh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.sknh-checkbox-label:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    transform: translateX(5px);
}

.sknh-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sknh-checkbox-label input[type="checkbox"]:checked {
    background: #6a11cb;
    border-color: #6a11cb;
}

.sknh-checkbox-text {
    font-weight: 500;
    color: #2c3338;
    line-height: 1.5;
    font-size: 14px;
    flex: 1;
}

/* Info Box */
.sknh-info-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-left: 4px solid #ffb900;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 185, 0, 0.1);
}

.sknh-info-box .sknh-icon-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sknh-info-box .sknh-icon-header .dashicons {
    color: #ffb900;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.sknh-info-box h3 {
    margin: 0;
    color: #3c434a;
    font-size: 18px;
    font-weight: 600;
}

.sknh-info-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.sknh-info-box li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #50575e;
    font-size: 14px;
    padding-left: 24px;
    position: relative;
}

.sknh-info-box li:before {
    content: "•";
    color: #ffb900;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.sknh-info-box li:last-child {
    margin-bottom: 0;
}

/* Icon Headers */
.sknh-icon-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sknh-icon-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Sidebar Widgets */
.sknh-sidebar-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.sknh-sidebar-widget h3 {
    margin: 0 0 15px 0;
    color: #2271b1;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

/* Plugin Info */
.sknh-plugin-info p {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
}

.sknh-plugin-info p:last-child {
    margin-bottom: 0;
}

.sknh-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.sknh-status-disabled {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.sknh-status-minor {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.sknh-status-default {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Quick Guide */
.sknh-quick-guide ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.sknh-quick-guide li {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sknh-quick-guide li:last-child {
    margin-bottom: 0;
}

/* Connect Links */
.sknh-link-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sknh-link-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sknh-link-section h4 {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sknh-connect-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sknh-connect-links li {
    margin-bottom: 8px;
}

/* Social Links */
.sknh-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

/* Support Links */
.sknh-support-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Donation Box */
.sknh-donation-box {
    text-align: center;
}

.sknh-donation-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.sknh-donation-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Featured Plugin Card */
.sknh-featured-plugin {
    border-left: 4px solid #00a32a;
}

.sknh-featured-plugin-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.sknh-plugin-icon {
    flex-shrink: 0;
}

.sknh-plugin-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.sknh-plugin-info {
    flex: 1;
}

.sknh-plugin-info h4 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.sknh-plugin-info p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.sknh-plugin-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.sknh-rating {
    color: #ffd166;
}

.sknh-downloads {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sknh-plugin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sknh-plugin-actions .button {
    flex: 1;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 15px;
    height: auto;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 6px;
}

/* Warning and Recommended Badges */
.sknh-warning-checkbox {
    border-left: 4px solid #d63638;
    background: linear-gradient(135deg, #fcf0f1 0%, #f8d7da 100%);
}

.sknh-warning-checkbox:hover {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.sknh-warning-checkbox .sknh-checkbox-text {
    color: #721c24;
    font-weight: 600;
}

.sknh-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d63638;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
}

.sknh-warning-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.sknh-recommended-checkbox {
    border-left: 4px solid #00a32a;
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
}

.sknh-recommended-checkbox:hover {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.sknh-recommended-checkbox .sknh-checkbox-text {
    color: #155724;
    font-weight: 600;
}

.sknh-recommended-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #00a32a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
}

.sknh-recommended-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Social Media Specific Colors */
.sknh-social-facebook .dashicons {
    color: #1877f2;
}

.sknh-social-instagram .dashicons {
    color: #e4405f;
}

.sknh-social-linkedin .dashicons {
    color: #0a66c2;
}

.sknh-social-github .dashicons {
    color: #181717;
}

.sknh-social-wordpress .dashicons {
    color: #21759b;
}

/* Update Control Section */
.sknh-update-control-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-left: 4px solid #1890ff;
    padding: 20px;
    margin: 30px 0 20px 0;
    border-radius: 8px;
}

.sknh-update-control-section h2 {
    color: #1890ff;
    margin-top: 0;
    font-size: 20px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .sknh-settings-container {
        flex-direction: column;
    }
    
    .sknh-sidebar {
        width: 100%;
        order: 2;
    }
    
    .sknh-main-content {
        order: 1;
    }
    
    .sknh-social-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 782px) {
    .sknh-header,
    .sknh-settings-card,
    .sknh-info-box,
    .sknh-sidebar-widget {
        margin: 15px 0;
        padding: 15px;
    }
    
    .sknh-header h2 {
        font-size: 24px;
    }
    
    .sknh-social-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sknh-support-links {
        flex-direction: row;
        justify-content: center;
    }
    
    .sknh-featured-plugin-card {
        flex-direction: column;
        text-align: center;
    }
    
    .sknh-plugin-icon {
        align-self: center;
    }
    
    .sknh-plugin-stats {
        justify-content: center;
    }
    
    .sknh-plugin-actions {
        flex-direction: column;
    }
    
    .sknh-plugin-actions .button {
        min-width: auto;
    }
    
    .sknh-donation-links {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .sknh-social-links {
        grid-template-columns: 1fr;
    }
    
    .sknh-plugin-actions {
        flex-direction: column;
    }
    
    .sknh-plugin-actions .button {
        min-width: auto;
    }
    
    .sknh-support-links {
        flex-direction: column;
    }
    
    .sknh-settings-form {
        padding: 15px;
    }
    
    .sknh-checkbox-label {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .sknh-checkbox-label input[type="checkbox"] {
        margin-top: 0;
    }
    
    .sknh-warning-badge,
    .sknh-recommended-badge {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        width: fit-content;
    }
    
    .sknh-section-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animation Effects */
@keyframes sknh-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sknh-sidebar-widget {
    animation: sknh-fadeIn 0.5s ease-out;
}

.sknh-sidebar-widget:nth-child(2) {
    animation-delay: 0.1s;
}

.sknh-sidebar-widget:nth-child(3) {
    animation-delay: 0.2s;
}

.sknh-sidebar-widget:nth-child(4) {
    animation-delay: 0.3s;
}

.sknh-sidebar-widget:nth-child(5) {
    animation-delay: 0.4s;
}

/* Loading Animation */
.sknh-form-submitting .button-primary {
    position: relative;
    overflow: hidden;
}

.sknh-form-submitting .button-primary:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: sknh-loading 1.5s infinite;
}

@keyframes sknh-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success Message Animation */
.notice.sknh-success-message {
    animation: sknh-slideDown 0.3s ease-out;
}

@keyframes sknh-slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .sknh-gradient-sidebar {
        border: 2px solid #667eea;
    }
    
    .sknh-sidebar-widget {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .sknh-checkbox-label:hover {
        background: #e6f0ff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sknh-sidebar-widget,
    .sknh-checkbox-label,
    .sknh-gradient-sidebar .sknh-connect-links a,
    .sknh-gradient-sidebar .sknh-social-links a,
    .sknh-gradient-sidebar .button,
    .sknh-plugin-actions .button,
    .sknh-support-links .button {
        transition: none;
        transform: none;
        animation: none;
    }
    
    .sknh-form-submitting .button-primary:after {
        animation: none;
    }
    
    .notice.sknh-success-message {
        animation: none;
    }
}