/**
 * Community Guidelines Page Styles
 * Professional Notion/Gitbook inspired design
 */

/* Wrapper */
.sm-guidelines-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 60px 20px;
}

.sm-guidelines-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Header Section */
.sm-guidelines-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 60px 40px;
    text-align: center;
}

.sm-guidelines-icon {
    margin-bottom: 20px;
}

.sm-guidelines-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

.sm-guidelines-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.sm-guidelines-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Section */
.sm-guidelines-content {
    padding: 50px 40px;
}

/* Individual Guideline Item */
.sm-guideline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.sm-guideline-item:hover {
    background: #f0f2f5;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sm-guideline-item.sm-guideline-warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.sm-guideline-item.sm-guideline-warning:hover {
    background: #fef3c7;
}

.sm-guideline-icon {
    flex-shrink: 0;
}

.sm-guideline-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #667eea;
}

.sm-guideline-warning .sm-guideline-icon .dashicons {
    color: #f59e0b;
}

.sm-guideline-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.sm-guideline-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Footer Actions */
.sm-guidelines-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    gap: 16px;
}

.sm-guidelines-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sm-btn-primary {
    background: linear-gradient(135deg, #003049 0%, #0a3d5e 100%);
    color: #ffffff;
    border: none;
}

.sm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 48, 73, 0.4);
    color: #ffffff;
}

.sm-btn-secondary {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #667eea;
}

.sm-btn-secondary:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sm-guidelines-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Meta Information */
.sm-guidelines-meta {
    padding: 30px 40px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

.sm-guidelines-meta p {
    margin: 8px 0;
}

.sm-guidelines-meta a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.sm-guidelines-meta a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sm-guidelines-wrapper {
        padding: 30px 15px;
    }

    .sm-guidelines-header {
        padding: 40px 24px;
    }

    .sm-guidelines-title {
        font-size: 32px;
    }

    .sm-guidelines-subtitle {
        font-size: 16px;
    }

    .sm-guidelines-content {
        padding: 30px 24px;
    }

    .sm-guideline-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .sm-guidelines-footer {
        flex-direction: column;
        padding: 24px;
    }

    .sm-guidelines-btn {
        width: 100%;
        justify-content: center;
    }

    .sm-guidelines-meta {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    .sm-guidelines-wrapper {
        background: #ffffff;
        padding: 0;
    }

    .sm-guidelines-footer {
        display: none;
    }

    .sm-guideline-item {
        page-break-inside: avoid;
    }
}
