/* ============================================
   GIFT KAPOKOLA - MAIN STYLESHEET
   ============================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #444444;
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F86D2A;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

/* ========== UTILITY CLASSES ========== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.loading {
    opacity: 0.7;
    font-style: italic;
    color: #999;
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 32px;
    color: #F86D2A;
    margin-bottom: 15px;
    display: block;
}

/* ========== HEADER & NAVIGATION ========== */
.site-header-clean {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeaea;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

.site-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #F86D2A;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.menu-primary-container {
    flex: 1;
}

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu li a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    font-size: 15px;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F86D2A;
    transition: width 0.3s ease;
}

.menu li a:hover::after,
.menu li.current-menu-item a::after {
    width: 100%;
}

.menu li a:hover {
    color: #F86D2A;
}

.menu li.current-menu-item a {
    color: #F86D2A;
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    cursor: pointer;
    font-size: 18px;
    color: #333;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-icon:hover {
    background-color: #F86D2A;
    color: white;
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
    overflow: hidden;
}

.search-form.active {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.search-wrap {
    display: flex;
    width: 100%;
}

.search-field {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.search-submit {
    padding: 0 20px;
    background: #F86D2A;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #e05a1e;
}

.user-wrapper {
    margin-left: 5px;
}

.user-icon {
    cursor: pointer;
    font-size: 20px;
    color: #333;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.user-icon:hover {
    background-color: #F86D2A;
    color: white;
}

.user-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.menu-toggle .fa-times {
    display: none;
}

.menu-toggle.active .fa-bars {
    display: none;
}

.menu-toggle.active .fa-times {
    display: inline-block;
}

/* ========== HERO SECTION ========== */
.hero-section {
    margin: 40px 0 50px;
}

.featured-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(248, 109, 42, 0.1);
}

.slide {
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.slide-content .post-categories a {
    background-color: #F86D2A;
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.slide-content .entry-title {
    font-size: 42px;
    margin: 15px 0;
    line-height: 1.3;
    max-width: 800px;
}

.slide-content .entry-title a {
    color: white;
}

.slide-content .entry-title a:hover {
    color: #F86D2A;
}

.slide-content .entry-meta {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    display: flex;
    gap: 20px;
}

.slide-content .entry-meta i {
    margin-right: 5px;
    color: #F86D2A;
}

/* ========== SECTION TITLES ========== */
.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #F86D2A;
}

.section-title.small {
    font-size: 24px;
    margin-bottom: 25px;
}

.section-title.small:after {
    width: 40px;
    height: 2px;
    bottom: 0;
}

/* ========== POST CARDS ========== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(248, 109, 42, 0.1);
}

.post img {
    width: 100%;
    transition: transform 0.5s;
}

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

.featured-grid .post img {
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.entry-meta-top {
    margin-bottom: 12px;
}

.post-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-categories a {
    background-color: #F86D2A;
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 600;
}

.post-categories a:hover {
    background-color: #000000;
}

.entry-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-family: 'Playfair Display', serif;
}

.entry-title.small {
    font-size: 16px;
}

.entry-title a {
    color: #1a1a1a;
}

.entry-title a:hover {
    color: #F86D2A;
}

.entry-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777;
}

.entry-meta i {
    margin-right: 5px;
    color: #F86D2A;
}

/* ========== CONTENT ROW ========== */
.content-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section .first-post {
    margin-bottom: 20px;
}

.content-section .first-post .post img {
    height: 300px;
    object-fit: cover;
}

.content-section .posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.content-section .posts-list .post {
    display: flex;
    gap: 15px;
    background: white;
    padding: 12px;
    border-radius: 12px;
}

.content-section .posts-list .post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========== TWO COLUMN ========== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* ========== SIDEBAR ========== */
.sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    padding-bottom: 10px;
    border-bottom: 2px solid #F86D2A;
}

#categories-list {
    list-style: none;
}

#categories-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #ddd;
}

#categories-list li a {
    color: #555;
    transition: all 0.3s;
    display: block;
}

#categories-list li a:hover {
    color: #F86D2A;
    transform: translateX(5px);
}

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

.sidebar-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F86D2A;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.sidebar-social a:hover {
    background: #F86D2A;
    color: white;
    transform: translateY(-3px);
}

/* ========== QUOTE PAGE STYLES ========== */
.quote-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.quote-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.quote-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #f5f5f5;
}

.quote-details {
    padding: 35px;
}

.quote-category {
    display: inline-block;
    background: #F86D2A;
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.quote-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 20px;
    font-weight: 600;
    color: #F86D2A;
    margin-bottom: 10px;
}

.quote-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-date i {
    color: #F86D2A;
}

.quote-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.stat-item i {
    color: #F86D2A;
}

.quote-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #F86D2A;
    color: white;
    box-shadow: 0 4px 15px rgba(248, 109, 42, 0.2);
}

.btn-primary:hover {
    background: #e05a1e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

#like-btn.liked,
#save-btn.saved {
    background: #ff6b6b;
    color: white;
}

.share-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000000; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy { background: #6c757d; }

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.comment-input:focus {
    outline: none;
    border-color: #F86D2A;
}

.comment {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #eaeaea;
}

.comment-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.comment-text {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.comment-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

/* Related Quotes */
.related-quote {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.related-quote:last-child {
    border-bottom: none;
}

.related-quote img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.related-quote h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.related-quote h4 a {
    color: #333;
}

.related-quote h4 a:hover {
    color: #F86D2A;
}

.related-author {
    font-size: 13px;
    color: #F86D2A;
    font-weight: 500;
}

/* ========== PROFILE PAGE ========== */
.profile-page {
    padding: 50px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.profile-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.profile-avatar {
    position: absolute;
    bottom: -60px;
    left: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 80px 40px 40px;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.profile-username {
    color: #F86D2A;
    font-size: 16px;
    margin-bottom: 15px;
}

.profile-bio {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 600px;
}

.profile-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.profile-meta-item {
    text-align: center;
}

.profile-meta-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.profile-meta-label {
    font-size: 14px;
    color: #777;
}

.profile-tabs {
    display: flex;
    border-bottom: 2px solid #eaeaea;
    margin-top: 30px;
    overflow-x: auto;
}

.profile-tab {
    padding: 15px 30px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s;
}

.profile-tab:hover {
    color: #F86D2A;
}

.profile-tab.active {
    color: #F86D2A;
    border-bottom: 2px solid #F86D2A;
}

.profile-panel {
    display: none;
    padding: 30px 0;
}

.profile-panel.active {
    display: block;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.profile-quote-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.profile-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.profile-quote-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.profile-quote-content {
    padding: 15px;
}

.profile-quote-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1a1a1a;
    color: #f0f0f0;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #F86D2A;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: #F86D2A;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #F86D2A;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    border-left: 4px solid #F86D2A;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ========== SCROLL TO TOP ========== */
#scroll-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #F86D2A;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(248, 109, 42, 0.3);
    z-index: 99;
}

#scroll-up:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: #000000;
}

/* ========== ERROR PAGES ========== */
.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.error-page h1 {
    font-size: 120px;
    color: #F86D2A;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.error-page .btn {
    background: #F86D2A;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.3s;
}

.error-page .btn:hover {
    background: #e05a1e;
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-row {
        flex-wrap: wrap;
        padding: 15px 0 10px;
    }
    
    .site-logo {
        flex: 1;
    }
    
    .menu-primary-container {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    .menu-primary-container.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
        gap: 0;
    }
    
    .menu li a {
        padding: 12px 0;
        border-bottom: 1px solid #eaeaea;
    }
    
    .menu li a::after {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        margin: 20px 0 30px;
    }
    
    .slide-image {
        height: 350px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
    
    .slide-content .entry-title {
        font-size: 28px;
    }
    
    .content-row {
        grid-template-columns: 1fr;
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .profile-info {
        text-align: center;
        padding: 80px 20px 30px;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .slide-image {
        height: 250px;
    }
    
    .slide-content .entry-title {
        font-size: 22px;
    }
    
    .slide-content .entry-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .quote-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .profile-tabs {
        flex-wrap: nowrap;
    }
    
    .profile-tab {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .error-page h1 {
        font-size: 80px;
    }
    
    .error-page p {
        font-size: 18px;
    }
    
    #scroll-up {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        text-align: center;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .site-header,
    .sidebar,
    #scroll-up,
    .footer-social,
    .search-wrapper,
    .user-wrapper,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
}
/* Make sure featured slider links are clickable */
.featured-slider .slide a {
    display: block;
    cursor: pointer;
}

.featured-slider .slide-image {
    pointer-events: none; /* Let clicks pass through to the link */
}

.featured-slider .slide-content {
    pointer-events: none; /* Let clicks pass through to the link */
}

.featured-slider .slide-content a,
.featured-slider .slide-content .post-categories a,
.featured-slider .slide-content .author a {
    pointer-events: auto; /* But make these links clickable */
    position: relative;
    z-index: 10;
}

.featured-slider .entry-title a {
    color: white;
    text-decoration: none;
}

.featured-slider .entry-title a:hover {
    color: #F86D2A;
}
/* No items message */
.no-items {
    text-align: center;
    padding: 30px;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}
/* ============================================
   RECENT QUOTES SECTION STYLES
   ============================================ */

/* Recent Quotes Section Container */
#recent-section {
    margin-bottom: 50px;
    padding: 0;
}

/* First Post (Large Featured Quote) */
#recent-first {
    margin-bottom: 25px;
}

#recent-first .post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

#recent-first .post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(248, 109, 42, 0.15);
    border-color: transparent;
}

#recent-first .post-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

#recent-first .post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#recent-first .post:hover .post-image-wrapper img {
    transform: scale(1.05);
}

#recent-first .post-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(248, 109, 42, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#recent-first .post-content {
    padding: 25px;
}

#recent-first .entry-meta-top {
    margin-bottom: 12px;
}

#recent-first .post-categories a {
    color: #F86D2A;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#recent-first .post-categories a:hover {
    color: #e05a1e;
    text-decoration: underline;
}

#recent-first .entry-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

#recent-first .entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
    display: inline;
}

#recent-first .entry-title a:hover {
    color: #F86D2A;
}

#recent-first .entry-title i {
    font-size: 0.8em;
    opacity: 0.7;
    margin: 0 5px;
}

#recent-first .entry-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
    flex-wrap: wrap;
}

#recent-first .entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

#recent-first .entry-meta i {
    color: #F86D2A;
    font-size: 14px;
    width: 16px;
}

#recent-first .entry-meta a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

#recent-first .entry-meta a:hover {
    color: #F86D2A;
}

/* Recent Quotes List (Small Posts) */
#recent-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#recent-list .post {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    align-items: flex-start;
}

#recent-list .post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 109, 42, 0.1);
    border-color: transparent;
}

#recent-list .post-image-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

#recent-list .post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#recent-list .post:hover .post-image-wrapper img {
    transform: scale(1.1);
}

#recent-list .post-content {
    flex: 1;
    padding: 0;
}

#recent-list .entry-title.small {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

#recent-list .entry-title.small a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: inline;
}

#recent-list .entry-title.small a:hover {
    color: #F86D2A;
}

#recent-list .entry-title.small i {
    font-size: 12px;
    opacity: 0.6;
    margin: 0 3px;
    color: #F86D2A;
}

#recent-list .entry-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #888;
    flex-wrap: wrap;
    margin-top: 8px;
}

#recent-list .entry-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

#recent-list .entry-meta i {
    color: #F86D2A;
    font-size: 11px;
}

/* No Items Message */
.no-items {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px dashed #e0e0e0;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.loading i {
    color: #F86D2A;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    #recent-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #recent-first .post-image-wrapper {
        height: 250px;
    }
    
    #recent-first .entry-title {
        font-size: 24px;
    }
    
    #recent-first .entry-meta {
        gap: 15px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #recent-list {
        grid-template-columns: 1fr;
    }
    
    #recent-list .post {
        padding: 12px;
    }
    
    #recent-list .post-image-wrapper {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    #recent-first .post-image-wrapper {
        height: 200px;
    }
    
    #recent-first .entry-title {
        font-size: 20px;
    }
    
    #recent-first .post-content {
        padding: 20px;
    }
    
    #recent-first .entry-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    #recent-list .post {
        flex-direction: column;
    }
    
    #recent-list .post-image-wrapper {
        width: 100%;
        height: 150px;
    }
    
    #recent-list .entry-title.small {
        font-size: 15px;
    }
}

/* Animation for recent quotes */
#recent-first .post,
#recent-list .post {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

#recent-first .post {
    animation-delay: 0.1s;
}

#recent-list .post:nth-child(1) { animation-delay: 0.2s; }
#recent-list .post:nth-child(2) { animation-delay: 0.3s; }
#recent-list .post:nth-child(3) { animation-delay: 0.4s; }
#recent-list .post:nth-child(4) { animation-delay: 0.5s; }

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

/* Hover effect for post links */
.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-link:hover {
    text-decoration: none;
}

/* Category badge hover */
.post-category-badge:hover {
    background: #F86D2A !important;
    color: white !important;
}

/* Count styling */
.count {
    color: #F86D2A;
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
}

/* Read more link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F86D2A;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s;
}

.read-more:hover {
    color: #e05a1e;
    gap: 12px;
}

.read-more i {
    font-size: 12px;
}
/* ============================================
   QUOTES PAGE - INSTAGRAM-STYLE CARDS
   ============================================ */

/* Page Header */
.page-header {
    text-align: center;
    margin: 40px 0 30px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group label i {
    margin-right: 5px;
    color: #F86D2A;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover {
    border-color: #F86D2A;
}

.filter-select:focus {
    outline: none;
    border-color: #F86D2A;
    box-shadow: 0 0 0 3px rgba(248, 109, 42, 0.1);
}

/* Quotes Grid */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0 40px;
}

/* Quote Card - Instagram Style */
.quote-card {
    background: white;
    border: 1px solid #efefef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

/* Card Header */
.quote-card-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #efefef;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #262626;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.author-name:hover {
    color: #F86D2A;
}

.category-badge {
    font-size: 12px;
    color: #8e8e8e;
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-badge a {
    color: #8e8e8e;
    text-decoration: none;
}

.category-badge a:hover {
    color: #F86D2A;
    text-decoration: underline;
}

.more-icon {
    color: #262626;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

.more-icon:hover {
    color: #F86D2A;
}

/* Quote Image */
.quote-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    overflow: hidden;
    border-bottom: 1px solid #efefef;
}

.quote-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quote-card:hover .quote-thumbnail {
    transform: scale(1.02);
}

/* Action Bar */
.quote-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
}

.actions-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #262626;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: all 0.2s;
}

.action-btn i {
    font-size: 24px;
}

.action-btn:hover {
    color: #F86D2A;
    transform: scale(1.1);
}

.action-btn.liked {
    color: #ed4956;
}

.action-btn.liked i {
    color: #ed4956;
}

.action-btn.saved {
    color: #F86D2A;
}

.like-count {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    margin-left: 4px;
}

/* Share Container */
.share-wrapper {
    position: relative;
}

.share-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    gap: 8px;
    z-index: 10;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    border: 1px solid #efefef;
}

.share-menu.active {
    opacity: 1;
    visibility: visible;
}

.share-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #000000; }
.share-pinterest { background: #bd081c; }
.share-whatsapp { background: #25d366; }
.share-copy { background: #6c757d; }

/* Quote Stats */
.quote-stats {
    padding: 0 16px 8px;
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.likes-count {
    display: block;
    margin-bottom: 4px;
}

/* Quote Caption */
.quote-caption {
    padding: 0 16px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.caption-author {
    font-weight: 600;
    color: #262626;
    text-decoration: none;
}

.caption-author:hover {
    color: #F86D2A;
}

.caption-text {
    color: #262626;
    flex: 1;
}

/* Quote Timestamp */
.quote-timestamp {
    padding: 0 16px 16px;
    color: #8e8e8e;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-top: 1px solid #efefef;
    margin-top: 8px;
    padding-top: 12px;
}

.quote-timestamp i {
    color: #F86D2A;
    font-size: 11px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px 0;
}

.load-more-btn {
    background: #F86D2A;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(248, 109, 42, 0.2);
}

.load-more-btn:hover {
    background: #e05a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 109, 42, 0.3);
}

.load-more-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.loading-more {
    color: #F86D2A;
    font-size: 16px;
    padding: 20px;
    text-align: center;
}

.loading-more i {
    margin-right: 8px;
}

.no-more {
    color: #8e8e8e;
    font-size: 14px;
    padding: 20px;
    font-style: italic;
    text-align: center;
}

.no-more i {
    color: #27ae60;
    margin-right: 5px;
}

/* No items message */
.no-items {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
    grid-column: 1 / -1;
    background: #f8f9fa;
    border-radius: 16px;
    font-size: 16px;
    border: 1px dashed #e0e0e0;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.loading i {
    color: #F86D2A;
    margin-bottom: 15px;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card {
    animation: fadeInUp 0.4s ease forwards;
}

/* Stagger animation */
.quote-card:nth-child(3n+1) { animation-delay: 0.1s; }
.quote-card:nth-child(3n+2) { animation-delay: 0.2s; }
.quote-card:nth-child(3n+3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .quotes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .quote-card:nth-child(2n+1) { animation-delay: 0.1s; }
    .quote-card:nth-child(2n+2) { animation-delay: 0.2s; }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .actions-left {
        gap: 12px;
    }
    
    .action-btn {
        font-size: 22px;
    }
    
    .share-menu {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .quote-card {
        animation-delay: 0.1s !important;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .quote-card-header {
        padding: 12px;
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
    }
    
    .quote-actions-bar {
        padding: 10px 12px 6px;
    }
    
    .action-btn {
        font-size: 20px;
    }
    
    .share-menu {
        padding: 6px 10px;
    }
    
    .share-option {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .load-more-btn {
        padding: 12px 30px;
        font-size: 15px;
        width: 100%;
    }
    
    .quote-caption {
        flex-direction: column;
        gap: 4px;
    }
}

/* Print Styles */
@media print {
    .filter-bar,
    .load-more-container,
    .action-btn,
    .share-wrapper,
    .more-icon {
        display: none !important;
    }
    
    .quote-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
}
/* ============================================
   CATEGORIES PAGE STYLES
   ============================================ */

.page-header {
    text-align: center;
    margin: 40px 0 30px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background: white;
    border: 1px solid #efefef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.category-card-content {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.category-icon i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.quote-count {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quote-count i {
    font-size: 12px;
}

.browse-link {
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.category-card:hover .browse-link {
    gap: 8px;
}

.browse-link i {
    font-size: 11px;
}

.no-items {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
    grid-column: 1 / -1;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px dashed #e0e0e0;
    font-size: 16px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.loading i {
    color: #F86D2A;
    margin-bottom: 15px;
}

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

.category-card {
    animation: fadeInUp 0.4s ease forwards;
}

/* Stagger animation */
.category-card:nth-child(4n+1) { animation-delay: 0.1s; }
.category-card:nth-child(4n+2) { animation-delay: 0.2s; }
.category-card:nth-child(4n+3) { animation-delay: 0.3s; }
.category-card:nth-child(4n+4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card-content {
        padding: 20px 15px;
    }
    
    .category-icon {
        font-size: 40px;
    }
    
    .category-name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        animation-delay: 0.1s !important;
    }
}
/* ============================================
   CATEGORY PAGE STYLES
   ============================================ */

.category-header {
    text-align: center;
    margin: 40px 0 30px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(248, 109, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.category-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 20px;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #777;
    font-size: 16px;
}

.category-stats i {
    color: #F86D2A;
    margin-right: 5px;
}

.category-filter {
    margin: 20px 0 30px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 36px;
    }
    
    .category-description {
        font-size: 16px;
    }
    
    .category-header {
        padding: 30px 15px;
    }
    
    .category-icon-large {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 28px;
    }
}
/* ============================================
   AUTHORS PAGE STYLES
   ============================================ */

.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.author-card {
    background: white;
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F86D2A;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.author-card:hover::before {
    transform: scaleX(1);
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background: #f0f0f0;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.author-card:hover .author-avatar-large {
    transform: scale(1.05);
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name-large {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.author-quote-count {
    color: #F86D2A;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.author-quote-count i {
    font-size: 12px;
}

.author-bio-preview {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.view-profile {
    color: #F86D2A;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    transition: gap 0.3s;
}

.author-card:hover .view-profile {
    gap: 8px;
}

.view-profile i {
    font-size: 12px;
}

/* Animation */
.author-card {
    animation: fadeInUp 0.4s ease forwards;
}

.author-card:nth-child(4n+1) { animation-delay: 0.1s; }
.author-card:nth-child(4n+2) { animation-delay: 0.2s; }
.author-card:nth-child(4n+3) { animation-delay: 0.3s; }
.author-card:nth-child(4n+4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .authors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .authors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .author-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .author-name-large {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .author-card {
        animation-delay: 0.1s !important;
    }
}
/* ============================================
   AUTHOR PAGE STYLES
   ============================================ */

/* Author Profile Header */
.author-profile-header {
    position: relative;
    margin-bottom: 60px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.author-cover-photo {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.author-profile-info {
    padding: 0 30px 30px;
    position: relative;
}

.author-profile-avatar {
    position: absolute;
    top: -60px;
    left: 30px;
    z-index: 10;
}

.author-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-details {
    padding-top: 70px;
}

.author-profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.author-profile-bio {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 20px;
}

.author-profile-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.author-meta-item {
    text-align: center;
}

.author-meta-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.author-meta-label {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-profile-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.author-profile-actions .btn {
    padding: 12px 28px;
    font-size: 15px;
}

.author-profile-actions .btn-primary.following {
    background: #2ecc71;
}

.author-profile-actions .btn-primary.following:hover {
    background: #27ae60;
}

/* Author Details Grid */
.author-profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.author-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.author-detail-item i {
    width: 20px;
    color: #F86D2A;
    font-size: 16px;
}

.author-detail-item a {
    color: #F86D2A;
    text-decoration: none;
}

.author-detail-item a:hover {
    text-decoration: underline;
}

/* Author Tabs */
.author-tabs {
    margin-top: 20px;
    border-bottom: 2px solid #eaeaea;
}

.author-tabs .profile-tab {
    padding: 15px 30px;
    font-size: 16px;
}

/* About Tab */
.about-section {
    padding: 30px 0;
    max-width: 800px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F86D2A;
    display: inline-block;
}

.about-title:first-of-type {
    margin-top: 0;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 15px;
}

.about-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin-top: 20px;
}

.details-grid {
    display: grid;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #1a1a1a;
    width: 120px;
    flex-shrink: 0;
}

.detail-value {
    color: #555;
    flex: 1;
}

/* Quotes Grid for Author Page */
#author-quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

/* Followers count specific */
#author-followers-count {
    color: #F86D2A;
}

/* Responsive */
@media (max-width: 1024px) {
    #author-quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .author-profile-header {
        margin-bottom: 60px;
    }
    
    .author-cover-photo {
        height: 150px;
    }
    
    .author-profile-avatar {
        left: 50%;
        transform: translateX(-50%);
        top: -50px;
    }
    
    .author-avatar-large {
        width: 100px;
        height: 100px;
    }
    
    .author-profile-details {
        padding-top: 60px;
        text-align: center;
    }
    
    .author-profile-name {
        font-size: 28px;
    }
    
    .author-profile-bio {
        margin-left: auto;
        margin-right: auto;
    }
    
    .author-profile-meta {
        justify-content: center;
    }
    
    .author-profile-actions {
        justify-content: center;
    }
    
    .author-profile-details-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .author-tabs .profile-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    #author-quotes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-section {
        padding: 20px 0;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-label {
        width: auto;
    }
}

@media (max-width: 480px) {
    .author-profile-name {
        font-size: 24px;
    }
    
    .author-profile-meta {
        gap: 20px;
    }
    
    .author-meta-value {
        font-size: 22px;
    }
    
    .author-meta-label {
        font-size: 12px;
    }
    
    .author-profile-actions {
        flex-direction: column;
    }
    
    .author-profile-actions .btn {
        width: 100%;
    }
    
    .about-title {
        font-size: 20px;
    }
}

/* Animation */
.author-card,
.quote-card {
    animation: fadeInUp 0.4s ease forwards;
}

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

/* Stagger animation for quotes */
#author-quotes-grid .quote-card:nth-child(3n+1) { animation-delay: 0.1s; }
#author-quotes-grid .quote-card:nth-child(3n+2) { animation-delay: 0.2s; }
#author-quotes-grid .quote-card:nth-child(3n+3) { animation-delay: 0.3s; }

/* Print styles */
@media print {
    .author-profile-header {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .author-cover-photo {
        height: 150px;
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .author-profile-actions,
    .author-tabs,
    .load-more-container,
    #scroll-up {
        display: none !important;
    }
}
/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

/* Search Header */
.search-header {
    text-align: center;
    margin: 40px 0 30px;
}

.search-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Large Search Bar */
.search-bar-large {
    max-width: 700px;
    margin: 0 auto 30px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #eaeaea;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.search-input-wrapper:focus-within {
    border-color: #F86D2A;
    box-shadow: 0 0 0 4px rgba(248, 109, 42, 0.1);
}

.search-input-icon {
    padding: 0 15px 0 20px;
    color: #999;
    font-size: 18px;
}

.search-input {
    flex: 1;
    padding: 15px 0;
    border: none;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.search-input::placeholder {
    color: #bbb;
}

.search-input-btn {
    padding: 15px 30px;
    background: #F86D2A;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-input-btn:hover {
    background: #e05a1e;
}

/* Search Filters */
.search-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.search-filters .filter-group {
    min-width: 180px;
}

.search-filters .filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-filters .filter-group label i {
    margin-right: 5px;
    color: #F86D2A;
}

.search-filters .filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.search-filters .filter-select:hover {
    border-color: #F86D2A;
}

.search-filters .filter-select:focus {
    outline: none;
    border-color: #F86D2A;
    box-shadow: 0 0 0 3px rgba(248, 109, 42, 0.1);
}

/* Search Info */
.search-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 30px;
    padding: 15px 25px;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 16px;
    flex-wrap: wrap;
}

.search-info i {
    color: #F86D2A;
    font-size: 18px;
}

.search-results-count {
    font-weight: 700;
    color: #F86D2A;
    font-size: 18px;
}

.search-query {
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid #eaeaea;
}

.clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.clear-search:hover {
    color: #F86D2A;
}

.clear-search i {
    font-size: 12px;
}

/* Results Tabs */
.results-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 20px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.results-tab {
    padding: 10px 25px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-tab i {
    font-size: 14px;
}

.results-tab:hover {
    color: #F86D2A;
}

.results-tab.active {
    color: #F86D2A;
}

.results-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: #F86D2A;
    border-radius: 3px 3px 0 0;
}

/* Results Panels */
.results-panel {
    display: none;
}

.results-panel.active {
    display: block;
}

/* Authors Grid for Search */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.author-card {
    background: white;
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F86D2A;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.author-card:hover::before {
    transform: scaleX(1);
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background: #f0f0f0;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.author-card:hover .author-avatar-large {
    transform: scale(1.05);
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name-large {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.author-quote-count {
    color: #F86D2A;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.author-bio-preview {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.view-profile {
    color: #F86D2A;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    transition: gap 0.3s;
}

.author-card:hover .view-profile {
    gap: 8px;
}

/* Categories Grid for Search */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.category-card {
    background: white;
    border: 1px solid #efefef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.category-card-content {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.category-icon i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.quote-count {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.browse-link {
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.category-card:hover .browse-link {
    gap: 8px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 60px;
    color: #F86D2A;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.no-results p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.search-suggestions {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
}

.search-suggestions h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.search-suggestions li:last-child {
    border-bottom: none;
}

.search-suggestions li i {
    color: #F86D2A;
    font-size: 12px;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px 0;
}

.load-more-btn {
    background: #F86D2A;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(248, 109, 42, 0.2);
}

.load-more-btn:hover {
    background: #e05a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 109, 42, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-more {
    color: #F86D2A;
    font-size: 16px;
    padding: 20px;
    text-align: center;
}

.loading-more i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .authors-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-title {
        font-size: 36px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .search-input-icon {
        display: none;
    }
    
    .search-input {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
    }
    
    .search-input-btn {
        width: 100%;
        border-radius: 0;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .search-filters .filter-group {
        width: 100%;
        max-width: 300px;
    }
    
    .authors-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .results-tabs {
        flex-wrap: wrap;
    }
    
    .results-tab {
        flex: 1;
        min-width: 100px;
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 28px;
    }
    
    .authors-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-info {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
    }
    
    .clear-search {
        margin-left: 0;
    }
    
    .author-card,
    .category-card {
        padding: 20px;
    }
    
    .author-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .category-icon {
        font-size: 40px;
    }
    
    .category-name {
        font-size: 20px;
    }
    
    .no-results i {
        font-size: 40px;
    }
    
    .no-results h3 {
        font-size: 20px;
    }
}

/* Animation for results */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card,
.author-card,
.category-card {
    animation: fadeInUp 0.4s ease forwards;
}

/* Stagger animation */
.quote-card:nth-child(3n+1),
.author-card:nth-child(4n+1),
.category-card:nth-child(4n+1) {
    animation-delay: 0.1s;
}

.quote-card:nth-child(3n+2),
.author-card:nth-child(4n+2),
.category-card:nth-child(4n+2) {
    animation-delay: 0.2s;
}

.quote-card:nth-child(3n+3),
.author-card:nth-child(4n+3),
.category-card:nth-child(4n+3) {
    animation-delay: 0.3s;
}

.author-card:nth-child(4n+4),
.category-card:nth-child(4n+4) {
    animation-delay: 0.4s;
}
/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0 60px;
}

/* Contact Info Section */
.contact-info-section {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 35px;
}

.contact-info-section .section-title.small {
    margin-bottom: 30px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #F86D2A;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(248, 109, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F86D2A;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 3px;
    font-size: 15px;
}

.contact-details a {
    color: #F86D2A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #e05a1e;
    text-decoration: underline;
}

.contact-details .small {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* Map */
.location-map {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    margin-top: 30px;
}

.location-map iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

.location-details {
    padding: 20px;
    background: white;
    border-top: 1px solid #eaeaea;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 15px;
    margin-bottom: 8px;
}

.location-details p:last-child {
    margin-bottom: 0;
}

.location-details i {
    color: #F86D2A;
    width: 20px;
    font-size: 16px;
}

/* Business Hours */
.business-hours {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid #eaeaea;
}

.business-hours h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-hours h3 i {
    color: #F86D2A;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eaeaea;
}

.hours-item .day {
    font-weight: 500;
    color: #333;
}

.hours-item .time {
    color: #F86D2A;
    font-weight: 500;
}

.hours-note {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
}

.contact-form-section .section-title.small {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group label i {
    color: #F86D2A;
    margin-right: 5px;
    width: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #F86D2A;
    box-shadow: 0 0 0 3px rgba(248, 109, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.form-group.checkbox a {
    color: #F86D2A;
    text-decoration: none;
    font-weight: 500;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: #F86D2A;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(248, 109, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #e05a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 109, 42, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 16px;
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Form Status */
.form-status {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    display: none;
    font-size: 14px;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.success i {
    color: #28a745;
    margin-right: 8px;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-status.error i {
    color: #dc3545;
    margin-right: 8px;
}

/* Social Connect */
.social-connect {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
}

.social-connect h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.social-connect .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-connect .social-links a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F86D2A;
    font-size: 18px;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.social-connect .social-links a:hover {
    background: #F86D2A;
    color: white;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eaeaea;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid #F86D2A;
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h3 i {
    color: #F86D2A;
    font-size: 16px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info-section,
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .location-details p {
        flex-direction: column;
        text-align: center;
    }
    
    .social-connect .social-links {
        flex-wrap: wrap;
    }
    
    .form-group.checkbox {
        flex-direction: column;
        text-align: center;
    }
    
    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

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

.contact-info-card,
.faq-item {
    animation: fadeInUp 0.4s ease forwards;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info-card:nth-child(4) { animation-delay: 0.4s; }

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
/* ============================================
   ENHANCED PROFILE PAGE STYLES
   ============================================ */

/* Profile Cover with Gradient */
.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, #F86D2A 0%, #e05a1e 100%);
    position: relative;
    overflow: hidden;
}

.profile-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="white" stroke-width="2"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="white" stroke-width="2"/></svg>');
    background-size: 30px 30px;
}

/* Avatar Container with Edit Button */
.avatar-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: #F86D2A;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.avatar-container:hover .avatar-edit-btn {
    opacity: 1;
    transform: scale(1);
}

.avatar-edit-btn:hover {
    background: #e05a1e;
    transform: scale(1.1) !important;
}

/* Profile Name with Badges */
.profile-name-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.user-badge {
    background: linear-gradient(135deg, #F86D2A 0%, #e05a1e 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(248, 109, 42, 0.2);
}

.user-badge i {
    font-size: 10px;
}

.user-badge.secondary {
    background: #6c757d;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

/* Info Grid for Device Info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid #F86D2A;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-label {
    display: block;
    font-size: 12px;
    color: #F86D2A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

.info-value i {
    color: #F86D2A;
    margin-right: 5px;
}

/* Stats Grid for Panel */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #F86D2A;
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(248, 109, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F86D2A;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-card-content {
    flex: 1;
}

.stat-card-label {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-card-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Security Score */
.security-score-container {
    margin: 20px 0;
}

.security-score-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.security-score-label span:last-child {
    color: #F86D2A;
    font-weight: 700;
}

.security-score {
    height: 10px;
    background: #eaeaea;
    border-radius: 5px;
    margin: 10px 0 20px;
    overflow: hidden;
}

.security-score-bar {
    height: 100%;
    background: linear-gradient(90deg, #F86D2A, #ff9f4b);
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.security-score-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Achievement Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.achievement-item {
    text-align: center;
    padding: 20px 10px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
    border: 2px solid transparent;
}

.achievement-item.unlocked {
    background: white;
    border-color: #F86D2A;
    box-shadow: 0 5px 15px rgba(248, 109, 42, 0.1);
}

.achievement-item.locked {
    opacity: 0.6;
    filter: grayscale(0.8);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.achievement-item.locked:hover {
    opacity: 0.8;
}

.achievement-icon {
    font-size: 28px;
    color: #F86D2A;
    margin-bottom: 10px;
}

.achievement-item.locked .achievement-icon {
    color: #999;
}

.achievement-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.achievement-item.locked .achievement-name {
    color: #999;
}

/* Theme Selector */
.theme-selector {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.theme-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.theme-option:hover {
    transform: scale(1.1);
}

.theme-option.active {
    border-color: #F86D2A;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(248, 109, 42, 0.3);
}

.theme-option.light { 
    background: #ffffff; 
    border: 2px solid #ddd;
}
.theme-option.dark { 
    background: #1a1a1a; 
}
.theme-option.blue { 
    background: #3498db; 
}
.theme-option.green { 
    background: #2ecc71; 
}
.theme-option.purple { 
    background: #9b59b6; 
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #404040;
}

[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] .profile-card,
[data-theme="dark"] .quote-card,
[data-theme="dark"] .comment,
[data-theme="dark"] .sidebar-widget {
    background: #2d2d2d;
    border-color: #404040;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .profile-name,
[data-theme="dark"] .stat-card-value {
    color: #ffffff;
}

[data-theme="dark"] .info-item,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .achievement-item {
    background: #333333;
    border-color: #404040;
}

[data-theme="dark"] .info-value,
[data-theme="dark"] .stat-card-label,
[data-theme="dark"] .profile-bio {
    color: #b3b3b3;
}

/* Blue Theme */
[data-theme="blue"] {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
}

[data-theme="blue"] .profile-cover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

[data-theme="blue"] .btn-primary,
[data-theme="blue"] .user-badge,
[data-theme="blue"] #scroll-up {
    background: #3498db;
}

[data-theme="blue"] .btn-primary:hover,
[data-theme="blue"] #scroll-up:hover {
    background: #2980b9;
}

/* Green Theme */
[data-theme="green"] {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
}

[data-theme="green"] .profile-cover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

[data-theme="green"] .btn-primary,
[data-theme="green"] .user-badge,
[data-theme="green"] #scroll-up {
    background: #2ecc71;
}

[data-theme="green"] .btn-primary:hover,
[data-theme="green"] #scroll-up:hover {
    background: #27ae60;
}

/* Purple Theme */
[data-theme="purple"] {
    --primary-color: #9b59b6;
    --primary-dark: #8e44ad;
}

[data-theme="purple"] .profile-cover {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

[data-theme="purple"] .btn-primary,
[data-theme="purple"] .user-badge,
[data-theme="purple"] #scroll-up {
    background: #9b59b6;
}

[data-theme="purple"] .btn-primary:hover,
[data-theme="purple"] #scroll-up:hover {
    background: #8e44ad;
}

/* Data Export Button */
.data-export-btn {
    background: #f8f9fa;
    border: 2px dashed #F86D2A;
    color: #F86D2A;
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
}

.data-export-btn:hover {
    background: #F86D2A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(248, 109, 42, 0.2);
}

.data-export-btn i {
    transition: transform 0.3s;
}

.data-export-btn:hover i {
    transform: translateY(-2px);
}

/* Danger Button */
.btn.danger,
.profile-btn.danger {
    background: #dc3545;
    color: white;
    border: none;
}

.btn.danger:hover,
.profile-btn.danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.2);
}

/* Settings Sections */
.settings-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 10px;
}

.settings-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #F86D2A;
}

.settings-section-title i {
    color: #F86D2A;
    font-size: 20px;
}

.settings-note {
    font-size: 13px;
    color: #999;
    margin: -10px 0 20px;
    font-style: italic;
}

/* Form Row for Settings */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Text */
.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.activity-item:hover {
    transform: translateX(5px);
    background: white;
    border-left-color: #F86D2A;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(248, 109, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 3px;
}

.activity-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-time i {
    color: #F86D2A;
    font-size: 10px;
}

/* Profile Quote Card */
.profile-quote-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 1px solid #eaeaea;
}

.profile-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(248, 109, 42, 0.1);
    border-color: transparent;
}

.profile-quote-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.profile-quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-quote-card:hover .profile-quote-image img {
    transform: scale(1.05);
}

.profile-quote-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-quote-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: italic;
    flex: 1;
}

.profile-quote-author {
    font-size: 13px;
    color: #F86D2A;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-quote-author i {
    font-size: 12px;
}

.profile-quote-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.profile-quote-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-quote-meta i {
    color: #F86D2A;
    font-size: 11px;
}

.profile-quote-meta i.fa-heart.liked {
    color: #ed4956;
}

.profile-quote-meta i.fa-bookmark.saved {
    color: #F86D2A;
}

.profile-quote-category {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 30px;
    font-size: 11px;
}

.profile-quote-date {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}

.profile-quote-date i {
    color: #F86D2A;
    font-size: 10px;
}

/* High Contrast Mode */
.high-contrast {
    --primary-color: #ff0000 !important;
    --text-primary: #000000 !important;
    --text-secondary: #000000 !important;
    --bg-primary: #ffffff !important;
    --border-color: #000000 !important;
}

.high-contrast * {
    border-color: #000000 !important;
}

.high-contrast .btn-primary,
.high-contrast .user-badge,
.high-contrast #scroll-up {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.high-contrast a {
    color: #0000ff !important;
    text-decoration: underline !important;
}

.high-contrast .profile-card,
.high-contrast .quote-card,
.high-contrast .info-item {
    border: 2px solid #000000 !important;
}

/* Reduced Motion */
[data-reduced-motion="true"] *,
.reduced-motion * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    animation-iteration-count: 1 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profile-name-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .badge-container {
        width: 100%;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .activity-icon {
        margin-bottom: 5px;
    }
    
    .profile-quote-card {
        flex-direction: row;
    }
    
    .profile-quote-image {
        width: 120px;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .achievement-item {
        padding: 15px 5px;
    }
    
    .achievement-icon {
        font-size: 24px;
    }
    
    .achievement-name {
        font-size: 11px;
    }
    
    .theme-selector {
        justify-content: center;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .stat-card-value {
        font-size: 20px;
    }
    
    .profile-quote-card {
        flex-direction: column;
    }
    
    .profile-quote-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-label {
        font-size: 11px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    .security-score-label {
        font-size: 12px;
    }
    
    .data-export-btn {
        font-size: 14px;
        padding: 12px;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print Styles */
@media print {
    .profile-cover {
        height: 150px;
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .avatar-edit-btn,
    .profile-actions,
    .profile-tabs,
    .settings-section,
    .data-export-btn,
    .btn.danger,
    #scroll-up,
    .toast {
        display: none !important;
    }
    
    .profile-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .info-item,
    .stat-card,
    .achievement-item {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}

/* Toast Notification Enhancement */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid #F86D2A;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    font-size: 18px;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.success i {
    color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.error i {
    color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}

.toast.warning i {
    color: #ffc107;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.settings-actions .btn,
.settings-actions .profile-btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 480px) {
    .settings-actions {
        flex-direction: column;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
/* ============================================
   UPLOAD PAGE STYLES
   ============================================ */

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.upload-header {
    background: linear-gradient(135deg, #F86D2A 0%, #e05a1e 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.upload-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
}

.upload-header h1 i {
    margin-right: 10px;
    font-size: 40px;
}

.upload-header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.upload-form-container {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-header i {
    width: 32px;
    height: 32px;
    background: rgba(248, 109, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F86D2A;
    font-size: 16px;
}

.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a1a1a;
    margin: 0;
}

.section-description {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Password Section */
.password-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid #F86D2A;
}

.password-toggle {
    position: relative;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #F86D2A;
}

.password-status {
    margin-top: 15px;
    padding: 12px 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #28a745;
}

.password-status i {
    color: #28a745;
    font-size: 16px;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group label i {
    color: #F86D2A;
    margin-right: 5px;
    width: 16px;
}

.form-group .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #F86D2A;
    box-shadow: 0 0 0 3px rgba(248, 109, 42, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    flex: 1;
}

.form-group.checkbox a {
    color: #F86D2A;
    text-decoration: none;
    font-weight: 500;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

/* Character Count */
.character-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.character-count span {
    color: #F86D2A;
    font-weight: 600;
}

/* Image Upload Area */
.image-upload-area {
    border: 2px dashed #eaeaea;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-upload-area:hover {
    border-color: #F86D2A;
    background: #fff3e6;
}

.image-upload-area.dragover {
    border-color: #F86D2A;
    background: #fff3e6;
    transform: scale(1.02);
}

.upload-placeholder i {
    font-size: 48px;
    color: #F86D2A;
    margin-bottom: 15px;
    opacity: 0.5;
}

.upload-placeholder p {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.upload-placeholder p span {
    color: #F86D2A;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.upload-placeholder small {
    font-size: 13px;
    color: #999;
}

.image-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.image-preview img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.remove-image:hover {
    background: #c82333;
    transform: scale(1.1);
}

.image-info {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-info i {
    color: #F86D2A;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-submit {
    flex: 2;
    background: #F86D2A;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(248, 109, 42, 0.2);
}

.btn-submit:hover {
    background: #e05a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 109, 42, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel {
    flex: 1;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #eaeaea;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cancel:hover {
    background: #eaeaea;
    color: #333;
}

/* Upload Status */
.upload-status {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.upload-status.success i {
    color: #28a745;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.upload-status.error i {
    color: #dc3545;
}

.upload-status.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.upload-status.warning i {
    color: #ffc107;
}

.upload-status.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.upload-status.info i {
    color: #17a2b8;
}

/* Categories loading */
.loading-categories {
    text-align: center;
    padding: 20px;
    color: #999;
}

.loading-categories i {
    color: #F86D2A;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .upload-header {
        padding: 30px 20px;
    }
    
    .upload-header h1 {
        font-size: 28px;
    }
    
    .upload-form-container {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
    
    .password-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .upload-header h1 {
        font-size: 24px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .image-upload-area {
        padding: 20px;
        min-height: 150px;
    }
    
    .upload-placeholder i {
        font-size: 36px;
    }
    
    .upload-placeholder p {
        font-size: 14px;
    }
    
    .form-group.checkbox {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-status.show {
    animation: fadeIn 0.3s ease forwards;
}
/* ============================================
   ADMIN PANEL STYLES - ADD TO EXISTING STYLE.CSS
   ============================================ */

:root {
    --sidebar-width: 260px;
    --header-height: 70px;
    --primary: #F86D2A;
    --primary-dark: #e05a1e;
    --primary-light: #fff3e6;
    --success: #28a745;
    --success-light: #d4edda;
    --danger: #dc3545;
    --danger-light: #f8d7da;
    --warning: #ffc107;
    --warning-light: #fff3cd;
    --info: #17a2b8;
    --info-light: #d1ecf1;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --light: #f8f9fa;
    --border: #eaeaea;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --shadow: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.1);
}

/* Admin Container */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--dark);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 100;
}

.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: var(--dark-light);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header .logo i {
    color: var(--primary);
    font-size: 24px;
}

.sidebar-header .logo span {
    color: var(--primary);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-header {
    padding: 20px 20px 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 13px;
}

.sidebar-nav a i {
    width: 20px;
    margin-right: 10px;
    font-size: 16px;
}

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

.sidebar-nav a.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: var(--primary);
}

.sidebar-nav a.active i {
    color: var(--primary);
}

.sidebar-nav .badge {
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: auto;
    font-weight: 500;
}

/* ===== MAIN CONTENT ===== */
.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: #f5f5f5;
    min-height: 100vh;
}

/* Header */
.admin-header {
    background: white;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
}

.menu-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.header-title h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.header-title p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Search */
.admin-search {
    position: relative;
}

.admin-search input {
    padding: 8px 15px 8px 35px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    width: 250px;
    background: var(--light);
}

.admin-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.admin-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

/* Notifications */
.admin-notifications {
    position: relative;
    cursor: pointer;
}

.admin-notifications i {
    font-size: 20px;
    color: var(--text-light);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile */
.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 30px;
}

.admin-profile:hover {
    background: var(--light);
}

.profile-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    line-height: 1.3;
}

.profile-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}

.profile-role {
    font-size: 11px;
    color: var(--primary);
}

/* Content Area */
.admin-content {
    padding: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change i {
    font-size: 10px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.quick-action {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.quick-action:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.quick-action i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.quick-action span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.quick-action small {
    color: var(--text-muted);
    font-size: 11px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.admin-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.admin-table tbody tr:hover {
    background: var(--light);
}

/* Status Badges */
.status {
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
}

.status.pending {
    background: var(--warning-light);
    color: #856404;
}

.status.approved {
    background: var(--success-light);
    color: #155724;
}

.status.rejected {
    background: var(--danger-light);
    color: #721c24;
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 5px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.action-btn.view {
    background: var(--info-light);
    color: var(--info);
}

.action-btn.view:hover {
    background: var(--info);
    color: white;
}

.action-btn.edit {
    background: var(--primary-light);
    color: var(--primary);
}

.action-btn.edit:hover {
    background: var(--primary);
    color: white;
}

.action-btn.delete {
    background: var(--danger-light);
    color: var(--danger);
}

.action-btn.delete:hover {
    background: var(--danger);
    color: white;
}

.action-btn.approve {
    background: var(--success-light);
    color: var(--success);
}

.action-btn.approve:hover {
    background: var(--success);
    color: white;
}

/* Recent Activity */
.recent-activity {
    background: white;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border);
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.section-header h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
}

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 3px;
}

.activity-time {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-time i {
    font-size: 10px;
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 5px 10px;
    font-size: 11px;
}

/* No Items */
.no-items {
    text-align: center;
    padding: 40px !important;
    color: var(--text-muted);
}

.no-items i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1000;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .admin-search {
        display: none;
    }
    
    .profile-info {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-header {
        padding: 0 15px;
    }
    
    .header-title h1 {
        font-size: 18px;
    }
    
    .admin-content {
        padding: 20px 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 22px;
    }
}
/* ============================================
   ADMIN QUOTES PAGE STYLES - ADD TO STYLE.CSS
   ============================================ */

/* Filters Bar */
.filters-bar {
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    min-width: 150px;
    background: white;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* Bulk Actions */
.bulk-actions {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border);
}

.bulk-actions .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-actions select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 150px;
}

/* Thumbnail Images */
.thumbnail-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.thumbnail-img:hover {
    transform: scale(3);
    z-index: 100;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* Quote Text Preview */
.quote-text-preview {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-size: 13px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.page-header h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.modal-header h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-modal:hover {
    background: var(--light);
    color: var(--danger);
}

.modal-body {
    padding: 20px;
}

.modal-body img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: white;
}

/* Text Muted */
.text-muted {
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
    }
    
    .filter-actions {
        margin-left: 0;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .thumbnail-img:hover {
        transform: scale(2);
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .thumbnail-img:hover {
        transform: scale(1.5);
    }
}