:root {
    --primary-color: #fb983a;
    --max-width: 1400px;
    --light-bg: #f8f9fa;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 60px;
}

.site-header .navbar {
    padding: 0;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo:hover {
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.logo img {
    max-height: 50px;
}

.navbar-nav {
    height: 60px;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    background-color: var(--primary-color);
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(251, 152, 58, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterloin='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin-top: 0;
    }
    
    .navbar-nav {
        height: auto;
        align-items: flex-start;
    }
    
    .navbar-nav .nav-link {
        color: white;
        height: auto;
        padding: 12px 16px;
        border-radius: 6px;
        transition: background-color 0.3s;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .navbar-nav .nav-link svg {
        color: white;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.hero-section h1 {
    color: #1a1a1a;
    font-size: 2.5rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Ad Styles */
.ad-728x90 {
    max-width: 728px;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.ad-728x90 img {
    max-width: 100%;
    height: auto;
}

.ad-sidebar-left,
.ad-sidebar-right {
    position: sticky;
    top: 70px;
    width: 160px;
    height: 600px;
    margin: 0 auto;
    text-align: center;
}

.ad-sidebar-left img,
.ad-sidebar-right img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .ad-sidebar-left,
    .ad-sidebar-right {
        display: none;
    }
}

/* Modern Drop Zone */
.drop-zone-modern {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fff;
}

.drop-zone-modern:hover,
.drop-zone-modern.drag-over {
    border-color: var(--primary-color);
    background-color: #fcf5e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 152, 58, 0.1);
}

.drop-zone-modern h4 {
    color: #333;
    font-weight: 600;
    font-size: 1.25rem;
}

.upload-icon svg {
    color: var(--primary-color);
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
}

.settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    max-height: calc(90vh - 200px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: white;
}

.btn-resize {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0873a 100%);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(251, 152, 58, 0.3);
}

.btn-resize:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 152, 58, 0.4);
}

.btn-resize:active {
    transform: translateY(0);
}

/* Settings Sections */
.settings-section {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.section-header {
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.collapse-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.collapse-btn:hover {
    color: #000;
}

.section-content {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(251, 152, 58, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: end;
}

.lock-icon {
    display: flex;
    align-items: center;
    padding-bottom: 0.625rem;
}

.aspect-lock-btn {
    background: #e9ecef;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aspect-lock-btn.active {
    background: var(--primary-color);
    color: white;
}

.aspect-lock-btn:hover {
    transform: scale(1.05);
}

/* Resize Mode Tabs */
.resize-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.mode-tab {
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #333;
}

.mode-tab:hover {
    border-color: var(--primary-color);
}

.mode-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mode-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    text-align: center;
}

/* Range Slider */
.form-range {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Webkit browsers (Chrome, Safari, Edge) - Track */
.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #dc3545 0%, #ffc107 50%, #fb983a 100%);
    border-radius: 4px;
    border: 1px solid #999;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Webkit browsers - Thumb */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 3px solid #fb983a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    margin-top: -7px;
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    border-color: #e0873a;
}

/* Firefox - Track */
.form-range::-moz-range-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #dc3545 0%, #ffc107 50%, #fb983a 100%);
    border-radius: 4px;
    border: 1px solid #999;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Firefox - Thumb */
.form-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 3px solid #fb983a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    border-color: #e0873a;
}

/* Firefox - Progress (filled portion) */
.form-range::-moz-range-progress {
    background: transparent;
}

/* Checkboxes */
.form-check-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.text-muted {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .features-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .features-section h2 {
        font-size: 1.75rem;
    }
    
    .features-section p {
        font-size: 0.95rem;
    }
}

.feature-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    min-height: 180px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 auto;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(251, 152, 58, 0.25);
}

/* Mobile Responsive for Features */
@media (max-width: 768px) {
    .feature-box {
        max-width: 100%;
        min-height: auto;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feature-box:hover {
        transform: translateY(-4px);
    }
}

.feature-box-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0873a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(251, 152, 58, 0.3);
}

.feature-box-icon svg {
    width: 24px;
    height: 24px;
}

.feature-box:hover .feature-box-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(251, 152, 58, 0.5);
}

.feature-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.feature-box-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Rating Section */
.rating-section {
    background-color: #f8f9fa;
}

.rating-unified-widget {
    width: 300px;
    height: 120px;
    margin: 0 auto;
    padding: 0.75rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rating-stars-display {
    margin-bottom: 0.4rem !important;
    line-height: 1;
}

.rating-stars-display i {
    font-size: 1.3rem;
    margin: 0 1px;
    color: #ffc107;
}

.rating-info {
    font-size: 0.8rem;
    margin-bottom: 0.4rem !important;
    white-space: nowrap;
}

#ratingSubmitArea {
    margin-bottom: 0;
}

#ratingSubmitArea p {
    font-size: 0.7rem;
    margin-bottom: 0.25rem !important;
}

.rating-stars-clickable {
    display: inline-block;
    line-height: 1;
}

.rating-stars-clickable i {
    font-size: 1.1rem;
    color: #ffc107;
    margin: 0 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars-clickable i:hover {
    transform: scale(1.1);
}

#ratingMessage {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-top: 0.25rem;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.step-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.why-choose-list {
    list-style: none;
    padding-left: 0;
}

.why-choose-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.why-choose-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

.accordion-button {
    background-color: white;
    color: #333;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Image Preview */
.image-preview-item {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    background: #f8f9fa;
}

.image-preview-item .btn {
    margin-top: 10px;
}

.remove-image {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.image-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 8px;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.image-info strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Footer */
.site-footer {
    margin-top: 150px;
    background: linear-gradient(180deg, #fb983a 0%, #000000 100%);
    color: #fff;
    border-top: none;
}

.footer-content {
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.footer-icon {
    width: 24px;
    height: 24px;
    color: #fb983a;
    filter: drop-shadow(0 0 8px rgba(251, 152, 58, 0.5));
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
    transform: translateX(4px);
}

.footer-links a:hover svg {
    opacity: 1;
    color: #fb983a;
    transform: rotate(90deg) scale(1.2);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(251, 152, 58, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    background: #fb983a;
    color: #fff;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(251, 152, 58, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0;
}

.heart-icon {
    width: 16px;
    height: 16px;
    color: #ff6b6b;
    display: inline-block;
    vertical-align: middle;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

@media (max-width: 991px) {
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-column {
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.05rem;
    }
}

/* Cards */
.card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-success {
    background-color: var(--primary-color);
    color: white;
}

.btn-success:hover {
    background-color: #e0873a;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-outline-secondary {
    border-radius: 6px;
    border-color: #dee2e6;
}

/* Post Cards */
.post-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid #e9ecef;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.post-card img {
    height: 200px;
    object-fit: fill;
    width: 100%;
}

.post-image-link {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.post-image-link img {
    transition: transform 0.3s ease;
}

.post-image-link:hover img {
    transform: scale(1.05);
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.category-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
}

.sticky-sidebar {
    position: sticky;
    top: 30px;
}

/* Admin Styles */
.admin-sidebar {
    background-color: #343a40;
    color: white;
    min-height: 100vh;
}

.admin-sidebar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    transition: background-color 0.3s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.admin-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
}

.table-actions {
    white-space: nowrap;
}

.table-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .drop-zone-modern {
        padding: 40px 20px;
    }
    
    .settings-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .lock-icon {
        display: none;
    }
    
    .resize-mode-tabs {
        grid-template-columns: 1fr;
    }
}

/* Single Post Modern Design */
.popular-posts-sidebar {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 30px;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.popular-post-item {
    display: flex;
    gap: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.popular-post-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(251, 152, 58, 0.15);
    transform: translateX(5px);
}

.popular-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #dee2e6;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
}

.popular-post-content {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #6c757d;
}

.popular-post-meta svg {
    flex-shrink: 0;
}

/* Modern Post Content */
.post-single-modern {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.post-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.post-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.post-meta-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #6c757d;
}

.category-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0873a 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 152, 58, 0.3);
    color: white;
}

.post-featured-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    border-radius: 12px;
}

.post-content-box {
    background: #ffffff;
    padding: 6px;
    border-radius: 10px;
    line-height: 1.8;
    color: #333;
}

.post-content-box p {
    margin-bottom: 1.25rem;
}

.post-content-box h2,
.post-content-box h3,
.post-content-box h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.post-content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content-box ul,
.post-content-box ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.post-content-box li {
    margin-bottom: 0.5rem;
}

.ad-container {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Related Posts Modern */
.related-posts-modern {
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.related-post-card {
    display: block;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 152, 58, 0.2);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
}

.related-post-body {
    padding: 1.25rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-excerpt {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-sidebar-box {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .post-single-modern {
        padding: 3px;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-content-box {
        padding: 3px;
    }
    
    .related-posts-modern {
        display: block !important;
        visibility: visible !important;
        margin-top: 1.5rem;
    }
    
    .related-post-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .related-posts-modern .row > div {
        width: 100%;
        max-width: 100%;
    }
}

/* Upload Tabs Responsive */
@media (max-width: 768px) {
    #uploadTabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    #uploadTabs .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }
    
    #uploadTabs .nav-link i {
        font-size: 0.9rem;
    }
    
    .drop-zone-modern {
        padding: 1.5rem 1rem;
    }
    
    .drop-zone-modern h4 {
        font-size: 1.25rem;
    }
    
    .drop-zone-modern p {
        font-size: 0.9rem;
    }
    
    #urlInput {
        font-size: 0.9rem;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Rating Widget Responsive */
@media (max-width: 768px) {
    .rating-unified-widget {
        width: 100%;
        max-width: 300px;
        padding: 1rem;
    }
    
    .rating-section h2 {
        font-size: 1.5rem;
    }
}
