/* ============================================
   NCT GeoVision - MASTER CSS FILE
   Contains: Blog | Post | Dashboard | Login
   Colors: #21346e, #314d7d, #4f82b1, #eb6623, #e78454, #f3a984, #ffffff, #000000
   ============================================ */

/* --------------------------------------------
   RESET & BASE
--------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000000;
}

body {
    background: #000000;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 4rem;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/imgs/blog_hero.webp') center/cover no-repeat;
    z-index: 0;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blog-hero-content h1 span {
    color: #eb6623;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Blog Container & Grid */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Blog Cards */
.blog-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(235,102,35,0.3);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #314d7d, #21346e);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(235,102,35,0.15);
    color: #eb6623;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #eb6623;
}

.blog-card-excerpt {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.blog-card-author i,
.blog-card-date i {
    margin-right: 0.25rem;
}

.read-more {
    color: #eb6623;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: letter-spacing 0.2s;
}

.read-more:hover {
    letter-spacing: 1px;
    color: #e78454;
}

/* Sidebar */
.blog-sidebar {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sidebar-widget {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-widget h3 {
    color: #eb6623;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(235,102,35,0.3);
}

.sidebar-widget h3 i {
    margin-right: 0.5rem;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
}

.category-list a:hover {
    color: #eb6623;
    padding-left: 5px;
}

/* Recent Posts */
.recent-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.recent-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #314d7d;
}

.recent-post-info h4 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.recent-post-info a {
    color: #ffffff;
    text-decoration: none;
}

.recent-post-info a:hover {
    color: #eb6623;
}

.recent-post-date {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

/* Newsletter Form */
.sidebar-widget input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #ffffff;
}

.sidebar-widget button {
    width: 100%;
    padding: 0.75rem;
    background: #eb6623;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-widget button:hover {
    background: #e78454;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.pagination a:hover {
    background: rgba(235,102,35,0.2);
    border-color: #eb6623;
}

.pagination .current {
    background: #eb6623;
    color: #ffffff;
    border-color: #eb6623;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 4rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
}

.no-posts i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ============================================
   POST PAGE STYLES
   ============================================ */

/* Post Container */
.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-category {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(235,102,35,0.15);
    color: #eb6623;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.post-meta i {
    margin-right: 0.25rem;
}

.post-meta span {
    margin: 0 0.5rem;
}

/* Post Image */
.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    background: #314d7d;
}

/* Post Content */
.post-content {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content h2 {
    color: #eb6623;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-content h3 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.post-content h4 {
    color: rgba(255,255,255,0.9);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: #eb6623;
    text-decoration: none;
}

.post-content a:hover {
    color: #e78454;
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

.post-content blockquote {
    border-left: 4px solid #eb6623;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

.post-content pre {
    background: rgba(0,0,0,0.5);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.post-content code {
    background: rgba(0,0,0,0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Author Box */
.author-box {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eb6623, #e78454);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.author-info h4 {
    color: #eb6623;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* Share Buttons */
.share-section {
    margin-top: 3rem;
    text-align: center;
}

.share-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }
.share-whatsapp { background: #25d366; }

/* Back Button */
.back-to-blog {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.75rem 1.5rem;
    background: rgba(235,102,35,0.1);
    border: 1px solid rgba(235,102,35,0.3);
    border-radius: 8px;
    color: #eb6623;
    text-decoration: none;
    transition: all 0.2s;
}

.back-to-blog:hover {
    background: rgba(235,102,35,0.2);
    color: #e78454;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-prev, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-prev a, .nav-next a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-prev a:hover, .nav-next a:hover {
    color: #eb6623;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.related-posts h3 {
    color: #eb6623;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(235,102,35,0.3);
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #314d7d;
}

.related-card-content {
    padding: 1rem;
}

.related-card-title {
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
}

.related-card-title:hover {
    color: #eb6623;
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 3px;
    background: #eb6623;
    width: 0%;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, #21346e, #314d7d);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(235,102,35,0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-size: 1.5rem;
    color: #eb6623;
}

.admin-header h1 i {
    margin-right: 0.5rem;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-header .user-info span {
    color: rgba(255,255,255,0.8);
}

.admin-header .user-info span i {
    margin-right: 0.3rem;
    color: #eb6623;
}

.logout-btn {
    background: rgba(235,102,35,0.15);
    color: #eb6623;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(235,102,35,0.3);
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(235,102,35,0.25);
    color: #e78454;
}

/* Dashboard Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Messages */
.success-msg {
    background: rgba(0,255,0,0.1);
    border: 1px solid rgba(0,255,0,0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-msg {
    background: rgba(235,102,35,0.1);
    border: 1px solid rgba(235,102,35,0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #eb6623;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(235,102,35,0.3);
}

.stat-card i {
    font-size: 2rem;
    color: #eb6623;
    margin-bottom: 0.5rem;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

.stat-card .label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* Create Post Button */
.create-post-btn {
    background: #eb6623;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 2rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.create-post-btn:hover {
    background: #e78454;
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    margin-bottom: 1rem;
    color: #eb6623;
    font-size: 1.3rem;
}

.section-title i {
    margin-right: 0.5rem;
}

/* Posts Table */
.posts-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
}

.posts-table th,
.posts-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.posts-table th {
    background: rgba(235,102,35,0.1);
    color: #eb6623;
    font-weight: 600;
}

.posts-table tr:hover {
    background: rgba(255,255,255,0.05);
}

.posts-table .post-title {
    max-width: 300px;
}

.posts-table .post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.posts-table .post-title a:hover {
    color: #eb6623;
}

.preview-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    background: #314d7d;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons a,
.action-buttons button {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.view-btn {
    background: rgba(235,102,35,0.15);
    color: #eb6623;
}

.view-btn:hover {
    background: rgba(235,102,35,0.25);
    color: #e78454;
}

.delete-btn {
    background: rgba(235,102,35,0.15);
    color: #eb6623;
}

.delete-btn:hover {
    background: rgba(235,102,35,0.25);
    color: #e78454;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid rgba(235,102,35,0.3);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #eb6623;
}

.modal-content h2 i {
    margin-right: 0.5rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #eb6623;
    background: rgba(255,255,255,0.15);
}

.modal-content textarea {
    min-height: 200px;
    resize: vertical;
}

.modal-content input[type="file"] {
    padding: 0.5rem;
    background: transparent;
}

.modal-content small {
    color: rgba(255,255,255,0.5);
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.modal-content small i {
    margin-right: 0.3rem;
}

.modal-content button[type="submit"] {
    background: #eb6623;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 1rem;
    transition: background 0.2s;
}

.modal-content button[type="submit"]:hover {
    background: #e78454;
}

.close-modal {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

/* Login Container */
.login-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(235, 102, 35, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

/* Logo Section */
.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h2 {
    color: #eb6623;
    margin-top: 1rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

label i {
    margin-right: 0.5rem;
    color: #eb6623;
}

input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: #eb6623;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 5px rgba(235, 102, 35, 0.3);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 0.75rem;
    background: #eb6623;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn:hover {
    background: #e78454;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 102, 35, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

/* Error Message */
.error {
    background: rgba(235, 102, 35, 0.15);
    border: 1px solid rgba(235, 102, 35, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #eb6623;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.error i {
    margin-right: 0.5rem;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #eb6623;
}

.back-link a i {
    margin-right: 0.3rem;
}

/* Info Text */
.info-text {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.info-text i {
    margin-right: 0.3rem;
    color: #eb6623;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.5s ease-out;
}

/* ============================================
   SHARED COMPONENTS
   ============================================ */

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #eb6623;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 100;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

/* Hover Navigation */
.hover-nav {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.hover-nav i, .hover-nav a i {
    font-size: 2rem;
    color: #eb6623;
    cursor: pointer;
    transition: transform 0.2s;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.hover-nav i:hover, .hover-nav a i:hover {
    transform: scale(1.1);
    color: #e78454;
}

/* Content Wrapper */
.content-wrapper {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Blog responsive */
    .blog-hero {
        height: 40vh;
        min-height: 300px;
    }
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    .blog-hero-content p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    .blog-container {
        padding: 2rem 1rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Post responsive */
    .post-container {
        padding: 2rem 1rem;
    }
    .post-title {
        font-size: 1.75rem;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-next {
        text-align: left;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .share-buttons {
        gap: 0.5rem;
    }
    .share-btn span {
        display: none;
    }
    
    /* Dashboard responsive */
    .admin-header {
        flex-direction: column;
        text-align: center;
    }
    .container {
        padding: 1rem;
    }
    .posts-table th,
    .posts-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    .action-buttons a,
    .action-buttons button {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .stat-card .number {
        font-size: 1.5rem;
    }
    .modal-content {
        padding: 1.5rem;
    }
    
    /* Shared responsive */
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Login responsive */
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    .logo img {
        width: 60px;
        height: 60px;
    }
    .logo h2 {
        font-size: 1.25rem;
    }
    input, .login-btn {
        padding: 0.6rem;
    }
    .form-group {
        margin-bottom: 1rem;
    }
}