/* ============================================
   PROMPT-GENERATOR.CSS - Staffing Maker
   Prompt Generator Tool Styles
============================================ */

/* ===== GLOBAL PROMPT GENERATOR STYLES ===== */
.pg-main-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 2rem;
}

/* ===== HERO SECTION ===== */
.pg-hero {
    background: linear-gradient(135deg, #2a013a 0%, #764ba2 100%);
    padding: 2.5rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.pg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" stroke="white" stroke-width="1" fill="none" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.pg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.pg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
}

.pg-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.pg-hero-desc {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pg-hero-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTON STYLES ===== */
.btn-pg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-pg-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-pg-secondary {
    background: white;
    color: #667eea;
    border: 2px solid rgba(255,255,255,0.9);
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pg-secondary:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}

.btn-pg-admin {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-pg-admin:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-pg-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #ddd;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pg-outline:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.btn-pg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-pg-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-pg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pg-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.btn-pg-clear {
    width: 100%;
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pg-clear:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-pg-icon {
    background: transparent;
    border: none;
    color: #667eea;
    padding: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-pg-icon:hover {
    color: #764ba2;
    transform: scale(1.1);
}

.btn-pg-add {
    background: transparent;
    border: 1px dashed #667eea;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pg-add:hover {
    background: rgba(102, 126, 234, 0.1);
}

.btn-pg-admin-logout {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pg-admin-logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== CONTAINER ===== */
.pg-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* ===== SIDEBAR ===== */
.pg-sidebar {
    padding-right: 1rem;
}

.pg-sidebar-sticky {
    position: sticky;
    top: 20px;
}

.pg-widget {
    background: white;
    border-radius: 10px;
    padding: 0.9rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
}

.pg-widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #f0f0f0;
}

.pg-widget-title.pg-widget-title--toggle {
    justify-content: space-between;
    width: 100%;
}

.pg-widget-title.pg-widget-title--toggle span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pg-widget-title i {
    color: #667eea;
    font-size: 1rem;
}

.pg-category-dropdown-toggle {
    border: none;
    background: #f0f2ff;
    color: #667eea;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.3s ease;
}

.pg-category-dropdown-toggle:hover {
    background: #e3e7ff;
}

.pg-category-dropdown-toggle i {
    font-size: 0.8rem;
}

/* Search Box */
.pg-search-box {
    position: relative;
    display: flex;
}

.pg-search-input {
    flex: 1;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.pg-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pg-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.pg-search-btn:hover {
    color: #764ba2;
}

/* Category List */
.pg-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pg-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    width: 100%;
    text-align: left;
}

.pg-category-item:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.pg-category-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.pg-category-item i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.pg-category-count {
    background: rgba(0,0,0,0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pg-category-item.active .pg-category-count {
    background: rgba(255,255,255,0.3);
}

/* Filter Group */
.pg-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pg-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.3s ease;
}

.pg-checkbox-label:hover {
    color: #667eea;
}

.pg-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}

/* Select Dropdown */
.pg-select {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.pg-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== FEED AREA ===== */
.pg-feed-area {
    padding-left: 1rem;
}

/* Active Filters */
.pg-active-filters {
    background: white;
    padding: 0.9rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pg-filter-label {
    font-weight: 600;
    color: #667eea;
    font-size: 0.85rem;
}

.pg-filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.pg-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e9ecef;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.pg-filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    font-size: 0.85rem;
}

/* Stats Bar */
.pg-stats-bar {
    background: white;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pg-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.pg-stat-item i {
    color: #667eea;
    font-size: 1rem;
}

.pg-stat-item strong {
    color: #667eea;
    font-size: 1rem;
}

.pg-stat-divider {
    width: 1px;
    height: 25px;
    background: #e0e0e0;
}

/* ===== PROMPTS GRID ===== */
.pg-prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Prompt Card */
.pg-prompt-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pg-prompt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pg-prompt-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pg-prompt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.pg-prompt-card:hover .pg-prompt-image img {
    transform: scale(1.05);
}

.pg-prompt-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    background: rgba(255,255,255,0.95);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #667eea;
    backdrop-filter: blur(5px);
}

.pg-prompt-badge.trending {
    background: rgba(255, 193, 7, 0.95);
    color: #333;
}

.pg-prompt-length {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pg-prompt-body {
    padding: 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pg-prompt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-prompt-preview {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pg-prompt-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    color: #999;
}

.pg-prompt-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pg-prompt-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
}

.pg-prompt-btn {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.pg-prompt-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pg-prompt-btn.copy:hover {
    background: #28a745;
    border-color: #28a745;
}

.pg-prompt-btn.share:hover {
    background: #17a2b8;
    border-color: #17a2b8;
}

/* Loading */
.pg-loading {
    text-align: center;
    padding: 3rem;
    color: #667eea;
    font-size: 1.1rem;
}

.pg-loading i {
    margin-right: 0.5rem;
}

/* No Results */
.pg-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pg-no-results i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.pg-no-results h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.pg-no-results p {
    color: #999;
    font-size: 0.9rem;
}

/* ===== PAGINATION ===== */
.pg-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.pg-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-page-item {
    display: inline-block;
}

.pg-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.8rem;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    color: #667eea;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pg-page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pg-page-item.active .pg-page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.pg-page-item.disabled .pg-page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.pg-page-item.disabled .pg-page-link:hover {
    background: white;
    color: #667eea;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.3rem;
    border: none;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 1.3rem;
}

.modal-footer {
    padding: 1rem 1.3rem;
    border-top: 1px solid #e0e0e0;
}

/* ===== FORM STYLES ===== */
.pg-form-group {
    margin-bottom: 1.2rem;
}

.pg-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.pg-form-label i {
    color: #667eea;
}

.pg-form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.pg-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pg-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.pg-form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #999;
}

.pg-form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.pg-input-with-action {
    display: flex;
    gap: 0.5rem;
}

.pg-input-with-action .pg-form-control {
    flex: 1;
}

/* Form Steps */
.pg-form-step {
    display: none;
}

.pg-form-step.active {
    display: block;
    animation: pgFadeIn 0.3s ease;
}


.pg-subcategory-toolbar {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pg-subcategory-toolbar .pg-search-box {
    flex: 1;
    min-width: 220px;
}

.pg-subcategory-toolbar .pg-select {
    max-width: 200px;
}

.pg-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #f0f0f0;
}

.pg-category-select-grid,
.pg-subcategory-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.pg-category-option,
.pg-subcategory-option {
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg-category-option:hover,
.pg-subcategory-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.pg-category-option.selected,
.pg-subcategory-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pg-category-option i,
.pg-subcategory-option i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.7rem;
}

.pg-category-option h6,
.pg-subcategory-option h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.pg-length-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.pg-length-option {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg-length-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.pg-length-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pg-length-option i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.7rem;
}

.pg-length-option h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.pg-length-option p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.pg-generated-result {
    margin-bottom: 1rem;
}

.pg-result-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.pg-result-header {
    background: #667eea;
    color: white;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pg-result-label {
    font-weight: 600;
    font-size: 0.85rem;
}

.pg-result-header .btn-pg-icon {
    color: white;
}

.pg-result-content {
    padding: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #333;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.pg-form-navigation {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e0e0e0;
}

.pg-form-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e0e0e0;
}

/* ===== ADMIN DASHBOARD ===== */
.pg-admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pg-admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pg-admin-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.85rem;
}

.pg-admin-container {
    display: flex;
    height: calc(100vh - 150px);
    gap: 0;
    background: #f8f9fa;
}

/* Admin Sidebar */
.pg-admin-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    flex-shrink: 0;
}

.pg-admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-admin-menu-item {
    padding: 1rem 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #555;
    border-left: 3px solid transparent;
}

.pg-admin-menu-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.pg-admin-menu-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

.pg-admin-menu-item.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 600;
}

.pg-admin-menu-item .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    border-radius: 10px;
    margin-left: auto;
}

/* Admin Content */
.pg-admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.pg-admin-tab {
    display: none;
}

.pg-admin-tab.active {
    display: block;
    animation: pgFadeIn 0.3s ease;
}

.pg-admin-tab h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pg-admin-tab h3 i {
    color: #667eea;
}

/* Dashboard Stats */
.pg-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.pg-stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.pg-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pg-stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
}

.pg-stat-icon.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pg-stat-icon.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.pg-stat-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.pg-stat-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #007bff 100%);
}

.pg-stat-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.pg-stat-info p {
    font-size: 0.85rem;
    color: #999;
    margin: 0.3rem 0 0 0;
}

/* Recent Activity */
.pg-recent-activity {
    background: white;
    border-radius: 10px;
    padding: 1.3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.pg-recent-activity h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pg-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pg-activity-item {
    padding: 0.7rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.pg-activity-item i {
    color: #667eea;
}

.pg-activity-item .time {
    margin-left: auto;
    color: #999;
    font-size: 0.75rem;
}

/* Admin Form */
.pg-admin-form {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.pg-form-inline {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
}

.pg-form-inline .pg-form-group {
    flex: 1;
    margin-bottom: 0;
}

.pg-image-preview {
    margin-top: 0.8rem;
    display: none;
}

.pg-image-preview.active {
    display: block;
}

.pg-image-preview img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pg-image-preview .remove-image {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Info Box */
.pg-info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #1565c0;
}

.pg-info-box i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pg-info-box p {
    margin: 0;
}

/* Section */
.pg-section {
    margin-bottom: 1.5rem;
}

.pg-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pg-section-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Config List */
.pg-config-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pg-config-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pg-config-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.pg-config-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.pg-config-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.action-btn.btn-edit {
    color: #007bff;
}

.action-btn.btn-edit:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.action-btn.btn-delete {
    color: #dc3545;
}

.action-btn.btn-delete:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.action-btn.btn-view {
    color: #28a745;
}

.action-btn.btn-view:hover {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Config Form */
.pg-config-form-wrapper {
    margin-top: 1.5rem;
}

.pg-subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f0f0f0;
}

.pg-lengths-config {
    margin-top: 1.5rem;
}

.pg-length-config-section {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.pg-length-header {
    background: #f8f9fa;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.pg-length-fields {
    padding: 1rem;
    background: white;
}

.pg-length-fields.collapsed {
    display: none;
}

.pg-input-fields-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.pg-input-field-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.9rem;
}

.pg-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px 120px 40px;
    gap: 0.8rem;
    align-items: start;
}

.pg-field-column {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pg-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

.pg-field-input {
    padding: 0.5rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.8rem;
}

.pg-field-input:focus {
    outline: none;
    border-color: #667eea;
}

.pg-field-actions {
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
}

/* Sub Tabs */
.pg-sub-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.pg-sub-tab {
    background: transparent;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pg-sub-tab:hover {
    color: #667eea;
}

.pg-sub-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.pg-sub-tab-content {
    display: none;
}

.pg-sub-tab-content.active {
    display: block;
}

/* Table Controls */
.pg-table-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.pg-search-box-table {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.pg-search-box-table i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.pg-table-search {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
}

.pg-table-search:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pg-table-filter {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Admin Table */
.pg-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pg-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.pg-admin-table thead {
    background: #f8f9fa;
}

.pg-admin-table th {
    padding: 0.9rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.pg-admin-table td {
    padding: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.pg-admin-table tbody tr:hover {
    background: #f8f9fa;
}

.pg-admin-table .text-center {
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.published {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.draft {
    background: #e2e3e5;
    color: #383d41;
}

/* Pending Prompts List */
.pg-pending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pg-pending-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pg-pending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.pg-pending-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.pg-pending-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: #666;
}

.pg-pending-content {
    background: #f8f9fa;
    padding: 0.9rem;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.pg-pending-actions {
    display: flex;
    gap: 0.6rem;
}

/* Prompt Detail in Modal */
.pg-prompt-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.pg-prompt-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #666;
}

.pg-prompt-detail-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ===== ANIMATIONS ===== */
@keyframes pgFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pgSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pg-slide-down {
    animation: pgSlideDown 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 991.98px) {
    .pg-hero-title {
        font-size: 1.7rem;
    }

    .pg-hero-desc {
        font-size: 0.9rem;
    }

    .pg-container {
        padding: 1rem 0.5rem;
    }

    .pg-sidebar {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .pg-feed-area {
        padding-left: 0;
    }

    .pg-prompts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .pg-admin-container {
        flex-direction: column;
        height: auto;
    }

    .pg-admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .pg-admin-menu {
        display: flex;
        overflow-x: auto;
    }

    .pg-admin-menu-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .pg-admin-menu-item.active {
        border-left: none;
        border-bottom-color: #667eea;
    }

    .pg-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pg-subcategory-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pg-subcategory-toolbar .pg-select {
        max-width: none;
        width: 100%;
    }

    .pg-hero {
        padding: 2rem 0 1.5rem;
    }

    .pg-hero-title {
        font-size: 1.5rem;
    }

    .pg-hero-desc {
        font-size: 0.85rem;
    }

    .pg-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .pg-hero-actions button {
        width: 100%;
        justify-content: center;
    }

    .pg-stats-bar {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .pg-stat-divider {
        display: none;
    }

    .pg-prompts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pg-prompt-image {
        height: 180px;
    }

    .pg-form-navigation {
        flex-direction: column;
    }

    .pg-form-navigation button {
        width: 100%;
        justify-content: center;
    }

    .pg-category-select-grid,
    .pg-length-select-grid {
        grid-template-columns: 1fr;
    }

    .pg-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .pg-admin-content {
        padding: 1rem;
    }

    .pg-table-controls {
        flex-direction: column;
    }

    .pg-search-box-table {
        min-width: 100%;
    }

    .pg-admin-table {
        font-size: 0.75rem;
    }

    .pg-admin-table th,
    .pg-admin-table td {
        padding: 0.6rem;
    }

    .pg-form-inline {
        flex-direction: column;
    }

    .pg-field-row {
        grid-template-columns: 1fr;
    }

    .pg-pending-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .pg-pending-actions {
        flex-direction: column;
        width: 100%;
    }

    .pg-pending-actions button {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .pg-hero-title {
        font-size: 1.3rem;
    }

    .pg-prompt-title {
        font-size: 0.9rem;
    }

    .pg-prompt-preview {
        font-size: 0.8rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center !important;
}

.text-muted {
    color: #999 !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* ===== END OF PROMPT-GENERATOR.CSS ===== */


/* ===== SEO SECTIONS FOR PROMPT GENERATOR ===== */

/* Common Section Styles */
.seo-how-it-works,
.seo-benefits-section,
.seo-faq-section,
.seo-usecases-section {
    padding: 2rem 0;
    margin-top: 1.5rem;
}

.seo-section-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.seo-section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin: 0.8rem 0 0.5rem;
    line-height: 1.3;
}

.seo-section-header p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* How It Works Section */
.seo-how-it-works {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #eef5ff 100%);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.seo-step-card {
    background: white;
    border-radius: 12px;
    padding: 1.3rem;
    text-align: center;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.seo-step-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.seo-step-number {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.seo-step-icon {
    font-size: 2.2rem;
    color: #667eea;
    margin-bottom: 0.8rem;
}

.seo-step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.seo-step-card p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Benefits Section */
.seo-benefits-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.seo-benefit-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.seo-benefit-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.seo-benefit-item i {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 0.7rem;
    display: block;
}

.seo-benefit-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.seo-benefit-item p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Section */
.seo-faq-section {
    background: linear-gradient(135deg, #0b1224 0%, #1e1b4b 55%, #2b164f 100%);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.seo-faq-section .seo-section-header h2 {
    color: white;
}

.seo-faq-section .seo-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.seo-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.seo-faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1.2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.seo-faq-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.seo-faq-q {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.seo-faq-q i {
    color: #00bcd4;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.seo-faq-q h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.seo-faq-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    padding-left: 1.2rem;
}

/* Use Cases Section */
.seo-usecases-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.seo-usecase-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.seo-usecase-card:hover {
    transform: translateY(-4px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.18);
    background: linear-gradient(135deg, #ffffff 0%, #eef0ff 100%);
}

.seo-usecase-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.7rem;
    display: block;
}

.seo-usecase-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.seo-usecase-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seo-section-header h2 {
        font-size: 1.3rem;
    }
    
    .seo-steps-grid,
    .seo-benefits-grid,
    .seo-faq-grid,
    .seo-usecases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .seo-how-it-works,
    .seo-benefits-section,
    .seo-faq-section,
    .seo-usecases-section {
        padding: 2rem 1rem;
        margin-top: 1rem;
    }
}


/* Examples Section */
.seo-examples-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.seo-example-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.seo-example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.seo-example-label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.seo-example-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.6rem;
}

.seo-example-box {
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid #667eea;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0.6rem;
}

.seo-example-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Tips Section */
.seo-tips-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #eef5ff 100%);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-top: 1.5rem;
}

.seo-tips-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.seo-tips-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.seo-tip-item {
    display: flex;
    gap: 0.8rem;
    background: white;
    padding: 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.seo-tip-item i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.seo-tip-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.seo-tip-item p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.seo-tips-cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.8rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.seo-tips-cta-box i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.seo-tips-cta-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.seo-tips-cta-box p {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.btn-seo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #667eea;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-seo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

.seo-tips-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-mini {
    text-align: center;
}

.stat-mini strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-mini span {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Keywords Section */
.seo-keywords-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.seo-keyword-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-keyword-group h4 i {
    color: #667eea;
    font-size: 0.9rem;
}

.seo-keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.seo-keyword-tags span {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    color: #667eea;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.seo-keyword-tags span:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seo-tips-wrapper {
        grid-template-columns: 1fr;
    }
    
    .seo-examples-grid,
    .seo-keywords-grid {
        grid-template-columns: 1fr;
    }
}
