/**
 * Product Feature Roadmap Styles
 * Kanban-style board for feature suggestions
 */

.sm-roadmap-page .ast-container,
.sm-roadmap-page .ast-container-fluid,
.sm-roadmap-page .site-content .ast-container,
.sm-roadmap-page .site-content .ast-container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Remove any wrapper padding */
.sm-roadmap-page .site-content,
.sm-roadmap-page .ast-separate-container .ast-article-single,
.sm-roadmap-page .ast-separate-container .ast-article-post {
    padding: 0 !important;
    margin: 0 !important;
}

.sm-roadmap-page #primary,
.sm-roadmap-page .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.sm-roadmap-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sm-roadmap-container * {
    box-sizing: border-box;
}

/* Header */
.sm-roadmap-page .sm-roadmap-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 24px;
    margin-bottom: 0;
    padding: 2rem 2rem;
    background: #003049;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
}

.sm-roadmap-page .sm-roadmap-header-content {
    display: grid;
    grid-template-columns: 64px auto;
    align-items: center;
    column-gap: 16px;
    max-width: 100%;
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.sm-roadmap-page .sm-roadmap-header-text {
    flex: 1 1 auto;
    text-align: left !important;
}

.sm-roadmap-page .sm-roadmap-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.sm-roadmap-page .sm-roadmap-header-text h1 {
    margin: 0 0 6px 0;
    text-align: left !important;
    font-size: 1.75rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
}

.sm-roadmap-page .sm-roadmap-back-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    margin-top: 4px;
}

.sm-roadmap-page .sm-roadmap-back-link:hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
    border-bottom-color: rgba(255,255,255,0.6);
}

/* Back to Roadmap Button Styling */
.sm-roadmap-page .sm-roadmap-header-actions {
    display: flex;
    gap: 12px;
}

.sm-roadmap-page .sm-roadmap-header-actions .sm-btn {
    padding: 0.875rem 1.75rem !important;
    background: #fff !important;
    color: #003049 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
}

.sm-roadmap-page .sm-roadmap-header-actions .sm-btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #003049 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

.sm-roadmap-page .sm-roadmap-header-actions .sm-btn-secondary {
    background: #fff !important;
    color: #003049 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.sm-roadmap-page .sm-roadmap-header-actions .sm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #003049 !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.sm-roadmap-page .sm-roadmap-suggest-btn,
.sm-roadmap-page .sm-roadmap-suggest-btn.sm-btn-prominent {
    padding: 0.875rem 1.75rem !important;
    background: #fff !important;
    color: #003049 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none;
    flex-shrink: 0;
    width: auto !important;
}

.sm-roadmap-page .sm-roadmap-suggest-btn { 
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.sm-roadmap-page .sm-roadmap-suggest-btn:hover,
.sm-roadmap-page .sm-roadmap-suggest-btn.sm-btn-prominent:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #003049 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.sm-roadmap-page .sm-roadmap-suggest-btn .dashicons,
.sm-roadmap-page .sm-roadmap-suggest-btn .sm-btn-icon,
.sm-roadmap-page .sm-roadmap-suggest-btn.sm-btn-prominent .dashicons,
.sm-roadmap-page .sm-roadmap-suggest-btn.sm-btn-prominent .sm-btn-icon {
    color: #003049 !important;
}

.sm-btn-prominent {
    background: #003049;
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.2);
}

.sm-btn-icon {
    font-size: 20px;
}

/* Content Wrapper */
.sm-roadmap-content-wrapper {
    padding: 2rem;
    max-width: 100%;
    width: 100%;
}

/* Content Area with margins */
.sm-roadmap-content-area {
    padding: 2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Pending Section */
.sm-roadmap-pending-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 16px;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.sm-pending-header {
    margin-bottom: 24px;
}

.sm-pending-header h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sm-pending-icon {
    font-size: 24px;
}

.sm-pending-subtitle {
    margin: 0;
    color: #856404;
    opacity: 0.8;
    font-size: 14px;
}

.sm-badge-warning {
    background: #ffc107;
    color: #856404;
}

.sm-roadmap-pending-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.sm-card-pending {
    border: 2px solid #ffc107;
    background: #fff;
}

/* Approve/Decline Actions */
.sm-roadmap-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.sm-btn-approve {
    flex: 1;
    background: #28a745;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
}

.sm-btn-approve:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.sm-btn-decline {
    flex: 1;
    background: #dc3545;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
}

.sm-btn-decline:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Kanban Board */
.sm-roadmap-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.sm-roadmap-column {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 400px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.sm-roadmap-column:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sm-roadmap-column-title {
    margin: 0 0 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.sm-roadmap-column-title.sm-planned {
    color: #64748b;
    border-bottom-color: #cbd5e0;
}

.sm-roadmap-column-title.sm-in-progress {
    color: #003049;
    border-bottom-color: #003049;
}

.sm-roadmap-column-title.sm-completed {
    color: #10b981;
    border-bottom-color: #10b981;
}

.sm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.625rem;
    background: #e2e8f0;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 28px;
    height: 24px;
}

.sm-roadmap-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sm-roadmap-empty {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

/* Roadmap Card */
.sm-roadmap-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sm-roadmap-card:hover {
    border-color: #003049;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.15);
    transform: translateY(-2px);
    background: #fff;
}

.sm-roadmap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sm-roadmap-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-feature-detail-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #f8f9fa !important;
    color: #003049 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.sm-feature-detail-btn:hover {
    background: #003049 !important;
    color: #fff !important;
    border-color: #003049 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.2) !important;
    text-decoration: none !important;
}

.sm-feature-detail-btn .dashicons {
    font-size: 12px !important;
    width: 12px !important;
    height: 12px !important;
    color: inherit !important;
    line-height: 1 !important;
}

.sm-feature-title-link {
    color: #007bff !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    font-weight: 600 !important;
    border-bottom: 2px solid transparent !important;
}

.sm-feature-title-link:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
    border-bottom-color: #007bff !important;
    transform: translateY(-1px) !important;
}

.sm-roadmap-card-votes {
    margin-left: 12px;
}

.sm-upvote-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    padding: 0.625rem 0.875rem !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    min-width: 70px !important;
}

.sm-upvote-icon {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    color: #64748b !important;
}

.sm-vote-count {
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1 !important;
}

.sm-vote-label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.sm-upvote-btn:hover {
    background: #003049 !important;
    border-color: #003049 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.2) !important;
}

.sm-upvote-btn:hover .sm-upvote-icon,
.sm-upvote-btn:hover .sm-vote-count,
.sm-upvote-btn:hover .sm-vote-label {
    color: #fff !important;
}
    color: #fff;
    border-color: #003049;
}

.sm-vote-count {
    min-width: 20px;
    text-align: center;
}

.sm-roadmap-card-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}

.sm-roadmap-card-eta {
    margin-bottom: 12px;
}

.sm-eta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e7f3ff;
    color: #007bff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.sm-roadmap-card-reply {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    border-radius: 4px;
}

.sm-roadmap-card-reply strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #007bff;
}

.sm-roadmap-card-reply p {
    margin: 0;
    font-size: 13px;
    color: #495057;
}

/* Vendor Controls */
.sm-roadmap-card-controls {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dee2e6;
}

.sm-status-select {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
}

.sm-edit-btn,
.sm-delete-btn {
    padding: 6px 12px !important;
    border: 2px solid #ced4da !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: #fff !important;
    color: #495057 !important;
    transition: all 0.2s !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.sm-edit-btn:hover {
    background: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

.sm-delete-btn:hover {
    background: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

/* Modal */
.sm-modal {
    position: fixed !important;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s;
    overflow-y: auto !important;
    padding: 20px !important;
    display: none !important;
}

.sm-modal.sm-modal-open {
    display: flex !important;
}

.sm-modal.sm-review-modal .sm-modal-dialog {
    width: 96% !important;
    max-width: 950px !important;
}

.sm-modal.sm-review-modal .sm-modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.sm-modal.sm-review-modal .sm-modal-backdrop {
    background: rgba(0, 0, 0, 0.6) !important;
}

.sm-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1 !important;
}

.sm-modal-dialog {
    position: relative !important;
    z-index: 2 !important;
    width: 90% !important;
    max-width: 600px !important;
    animation: slideUp 0.3s ease-out;
    margin: auto !important;
}

.sm-modal-content {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 3 !important;
}

.sm-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sm-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sm-modal-icon {
    font-size: 28px;
}

.sm-modal-close {
    background: transparent !important;
    border: none !important;
    font-size: 32px !important;
    line-height: 1 !important;
    color: #6c757d !important;
    cursor: pointer !important;
    padding: 4px !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.sm-modal-close:hover {
    background: #f8f9fa;
    color: #000;
}

.sm-modal-body {
    padding: 30px;
}

.sm-modal-description {
    margin: 0 0 24px 0;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.sm-form-group {
    margin-bottom: 24px;
    position: relative;
}

.sm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.sm-required {
    color: #dc3545;
}

.sm-optional {
    font-weight: 400;
    color: #6c757d;
    font-size: 13px;
}

.sm-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.sm-form-control:focus {
    outline: none;
    border-color: #003049;
    box-shadow: 0 0 0 3px rgba(0, 48, 73, 0.1);
}

.sm-form-control::placeholder {
    color: #adb5bd;
}

.sm-char-count {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    color: #6c757d;
}

.sm-modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

.sm-btn {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.sm-btn-primary {
    background: #003049 !important;
    color: #fff !important;
    flex: 1;
    border: 2px solid #003049 !important;
}

.sm-btn-primary:hover {
    background: #00243a !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.3) !important;
    text-decoration: none !important;
}

.sm-btn-primary:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.sm-btn-secondary {
    background: #f8f9fa !important;
    color: #495057 !important;
    border: 2px solid #dee2e6 !important;
}

.sm-btn-secondary:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    border-color: #adb5bd !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
}

.sm-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.sm-modal-success {
    text-align: center;
    padding: 40px 20px;
}

.sm-success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
    animation: scaleIn 0.4s ease-out;
}

.sm-modal-success h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #1a1a1a;
}

.sm-modal-success p {
    margin: 0 0 24px 0;
    color: #6c757d;
    line-height: 1.6;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .sm-roadmap-board {
        grid-template-columns: 1fr;
    }
    
    .sm-roadmap-column {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .sm-modal.sm-review-modal .sm-modal-dialog {
        width: 95% !important;
        max-width: 420px !important;
    }
    
    /* Force single-column login modal on mobile for roadmap context */
    html body .sm-modal.sm-review-modal .sm-login-modal-container.sm-login-context-roadmap .sm-review-modal-left,
    body .sm-modal.sm-review-modal .sm-login-modal-container.sm-login-context-roadmap .sm-review-modal-left.sh-auth-left {
        display: none !important;
    }
    html body .sm-modal.sm-review-modal .sm-login-modal-container.sm-login-context-roadmap .sm-review-modal-right,
    body .sm-modal.sm-review-modal .sm-login-modal-container.sm-login-context-roadmap .sm-review-modal-right.sh-auth-right {
        width: 100% !important;
        padding: 20px !important;
        max-height: none !important;
    }
    
    /* Ensure divider is horizontal and subtle */
    body .sm-modal.sm-review-modal .sm-login-modal-container.sm-login-context-roadmap .sm-social-login-divider {
        margin: 16px 0 !important;
    }
}
    
    .sm-roadmap-page .sm-roadmap-header {
        grid-template-columns: 1fr;
        row-gap: 20px;
        text-align: center;
    }
    
    .sm-roadmap-page .sm-roadmap-header-content {
        grid-column: 1;
        grid-row: 1;
    }
    
    .sm-roadmap-page .sm-roadmap-suggest-btn {
        grid-column: 1;
        grid-row: 2;
        justify-self: stretch;
        width: 100% !important;
    }
    
    .sm-roadmap-page .sm-roadmap-header-content {
        width: 100%;
    }
    
    .sm-roadmap-page .sm-roadmap-header-text {
        text-align: center;
    }
    
    .sm-roadmap-header-content {
        flex-direction: column;
    }
    
    .sm-roadmap-pending-list {
        grid-template-columns: 1fr;
    }
    
    .sm-roadmap-page .sm-roadmap-suggest-btn {
        width: 100%;
    }
    
    .sm-feature-detail-btn {
        width: 20px !important;
        height: 20px !important;
    }
    
    .sm-feature-detail-btn .dashicons {
        font-size: 10px !important;
        width: 10px !important;
        height: 10px !important;
    }
}

/* Detail Modal Specific Styles */
.sm-modal-lg {
    max-width: 900px !important;
    width: 95% !important;
}

.sm-detail-header-content {
    flex: 1;
}

.sm-detail-header-content h2 {
    margin: 0 0 12px 0;
    font-size: 26px;
    color: #1a1a1a;
}

.sm-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sm-detail-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-detail-status-badge.sm-status-pending {
    background: #fff3cd;
    color: #856404;
}

.sm-detail-status-badge.sm-status-approved {
    background: #d1ecf1;
    color: #0c5460;
}

.sm-detail-status-badge.sm-status-in_progress {
    background: #cce5ff;
    color: #004085;
}

.sm-detail-status-badge.sm-status-completed {
    background: #d4edda;
    color: #155724;
}

.sm-detail-status-badge.sm-status-declined {
    background: #f8d7da;
    color: #721c24;
}

.sm-upvote-large {
    padding: 10px 20px;
    font-size: 16px;
}

.sm-detail-description {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}

.sm-detail-description p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
}

.sm-no-description {
    color: #adb5bd;
    font-style: italic;
}

.sm-vendor-info-box {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff;
    border-radius: 8px;
}

.sm-vendor-eta {
    margin-bottom: 12px;
    font-size: 14px;
    color: #495057;
}

.sm-vendor-eta:last-child {
    margin-bottom: 0;
}

.sm-vendor-reply strong {
    display: block;
    margin-bottom: 8px;
    color: #007bff;
    font-size: 14px;
}

.sm-vendor-reply p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

/* Discussion Section */
.sm-discussion-section {
    margin-top: 32px !important;
    padding-top: 32px !important;
    border-top: 2px solid #e9ecef !important;
}

.sm-discussion-section h3 {
    margin: 0 0 24px 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.sm-discussion-icon {
    font-size: 24px !important;
}

.sm-badge {
    background: #003049 !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.sm-comments-list {
    max-height: 600px !important;
    min-height: 300px !important;
    overflow-y: auto !important;
    margin-bottom: 24px !important;
    padding-right: 8px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.sm-comments-list::-webkit-scrollbar {
    width: 8px !important;
}

.sm-comments-list::-webkit-scrollbar-track {
    background: #e9ecef !important;
    border-radius: 4px !important;
}

.sm-comments-list::-webkit-scrollbar-thumb {
    background: #003049 !important;
    border-radius: 4px !important;
}

.sm-comments-list::-webkit-scrollbar-thumb:hover {
    background: #00243a !important;
}

.sm-no-comments,
.sm-loading {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #6c757d !important;
    font-style: italic !important;
    background: transparent !important;
}

/* Comment Item */
.sm-comment {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 48, 73, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s !important;
}

.sm-comment:last-child {
    margin-bottom: 0 !important;
}

.sm-comment:hover {
    border-color: rgba(0, 48, 73, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.08) !important;
}

.sm-comment-new {
    animation: slideInComment 0.4s ease-out !important;
}

@keyframes slideInComment {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-comment-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    border: 2px solid #003049 !important;
    box-shadow: 0 2px 4px rgba(0, 48, 73, 0.15) !important;
}

.sm-comment-content {
    flex: 1;
    min-width: 0;
}

.sm-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.sm-comment-author {
    font-size: 14px;
    color: #1a1a1a;
}

.sm-comment-time {
    font-size: 12px;
    color: #6c757d;
}

.sm-vendor-badge {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #003049 !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.sm-comment-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #495057 !important;
    word-wrap: break-word !important;
}

/* Vendor Comment Highlight */
.sm-comment-vendor {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4ebf2 100%) !important;
    border-left: 4px solid #003049 !important;
    position: relative;
}

.sm-comment-vendor::after {
    content: '✓ Official Response';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #003049;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #003049;
}

/* Comment Form */
.sm-comment-form {
    padding: 24px !important;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%) !important;
    border-radius: 16px !important;
    border: 3px solid #003049 !important;
    box-shadow: 0 4px 16px rgba(0, 48, 73, 0.15) !important;
    margin-top: 32px !important;
    position: relative;
}

.sm-comment-form::before {
    content: '💬 Join the Discussion - Everyone Can Participate!';
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #003049;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0f2fe;
    text-align: center;
}

.sm-comment-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sm-comment-form-user strong {
    font-size: 14px;
    color: #1a1a1a;
}

.sm-comment-form textarea {
    margin-bottom: 12px;
    resize: vertical;
    min-height: 80px;
}

.sm-comment-form-footer {
    display: flex;
    justify-content: flex-end;
}

.sm-comment-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.sm-comment-login-prompt p {
    margin: 0 0 16px 0;
    color: #6c757d;
    font-size: 15px;
}

/* Clickable Card Cursor */
.sm-roadmap-card-clickable {
    cursor: pointer;
}

.sm-roadmap-card-clickable:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sm-modal-lg {
        max-width: 95%;
    }
    
    .sm-detail-header-content h2 {
        font-size: 20px;
    }
    
    .sm-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sm-comments-list {
        max-height: 300px;
    }
    
    .sm-comment {
        padding: 12px;
    }
    
    .sm-comment-avatar {
        width: 40px;
        height: 40px;
    }
}


/* ========================================
   SINGLE FEATURE DETAIL PAGE STYLES
   ======================================== */

.sm-roadmap-single-container {
    max-width: 100%;
    width: 100%;
}

.sm-roadmap-single-header {
    margin-bottom: 0;
}

.sm-breadcrumb {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.sm-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    opacity: 0.9;
}

.sm-breadcrumb a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.sm-breadcrumb-separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

.sm-breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

.sm-roadmap-header-actions {
    display: flex;
    gap: 12px;
}

.sm-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.sm-btn-danger {
    background: #dc3545;
    color: #fff;
}

.sm-btn-danger:hover {
    background: #c82333;
}

/* Single Feature Content Layout */
.sm-roadmap-single-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    max-width: 100%;
    width: 100%;
}

.sm-roadmap-single-main {
    min-width: 0;
}

.sm-roadmap-single-sidebar {
    position: sticky;
    top: 2rem;
}

/* Feature Detail Card */
.sm-feature-detail-card {
    background: #fff;
    border: 1px solid rgba(0, 48, 73, 0.15);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 48, 73, 0.08);
    margin-bottom: 32px;
}

.sm-feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e9ecef;
}

.sm-feature-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sm-feature-votes {
    margin-left: auto;
}

.sm-feature-description {
    margin-bottom: 24px;
}

.sm-feature-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.sm-feature-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Vendor Response Box */
.sm-vendor-response-box {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4ebf2 100%);
    border-left: 4px solid #003049;
    border-radius: 8px;
}

.sm-vendor-response-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sm-vendor-response-header strong {
    font-size: 16px;
    color: #003049;
}

.sm-vendor-response-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
}

/* Vendor Controls Box */
.sm-vendor-controls-box {
    margin-top: 24px;
    padding: 24px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.sm-vendor-controls-box h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.sm-vendor-controls-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
}

.sm-control-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.sm-control-actions {
    display: flex;
    gap: 8px;
}

/* Sidebar Cards */
.sm-sidebar-card {
    background: #fff;
    border: 1px solid rgba(0, 48, 73, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.08);
    margin-bottom: 20px;
}

.sm-sidebar-card h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.sm-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sm-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.sm-info-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.sm-info-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

.sm-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Comment Login Prompt */
.sm-comment-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.sm-comment-login-prompt p {
    margin: 0 0 16px 0;
    color: #6c757d;
    font-size: 15px;
}

/* Responsive Design for Single Page */
@media (max-width: 1024px) {
    .sm-roadmap-single-content {
        grid-template-columns: 1fr;
    }
    
    .sm-roadmap-single-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .sm-roadmap-single-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .sm-roadmap-header-actions {
        width: 100%;
    }
    
    .sm-roadmap-header-actions .sm-btn {
        flex: 1;
    }
    
    .sm-feature-detail-card {
        padding: 20px;
    }
    
    .sm-feature-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .sm-feature-votes {
        margin-left: 0;
        width: 100%;
    }
    
    .sm-upvote-large {
        width: 100%;
        justify-content: center;
    }
    
    .sm-vendor-controls-grid {
        grid-template-columns: 1fr;
    }
    
    .sm-control-actions {
        width: 100%;
    }
    
    .sm-control-actions .sm-btn {
        flex: 1;
    }
}


/* Form Actions (Cancel/Submit buttons) */
.sm-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.sm-modal-cancel {
    padding: 12px 24px;
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sm-modal-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sm-form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6c757d;
}
