/* ===== ADMIN CUSTOM CSS ===== */

/* Equal height news cards */
.news-section .row {
    align-items: stretch;
}
.news-section .col-xl-4,
.news-section .col-lg-6,
.news-section .col-md-6 {
    display: flex;
}
.news-box-items {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.news-box-items .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-box-items .news-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Equal height service cards */
.service-section-2 .row {
    align-items: stretch;
}
.service-section-2 .col-xl-3,
.service-section-2 .col-lg-6,
.service-section-2 .col-md-6 {
    display: flex;
}
.service-box-items-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.service-box-items-2 .service-btn {
    margin-top: auto;
}

/* ===== COMMENTS SECTION ===== */
.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0DAFDA20;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-avatar span {
    font-size: 20px;
    font-weight: 600;
    color: #0DAFDA;
}

.comment-avatar-sm {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    flex-shrink: 0;
}

/* ===== PUBLIC REVIEW STAR RATING ===== */
.star-pick {
    font-size: 32px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.1s;
}
.star-pick.active {
    color: #f5a623;
}

/* ===== FOOTER RECENT ARTICLES ===== */
.recent-post .thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== FILE INPUT DROP ZONE ===== */
.drop-zone {
    border: 2px dashed #0DAFDA;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.drop-zone:hover {
    background: #0DAFDA10;
}
.drop-zone input[type="file"] {
    display: none;
}
.drop-zone-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.75rem;
}
.drop-zone-preview .preview-item {
    position: relative;
}
.drop-zone-preview img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}
.drop-zone-preview .remove-preview {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Admin Login Page Custom Styles */
        
        .login-wrapper {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .login-card {
            width: 100%;
            max-width: 420px;
        }
        .login-logo {
            text-align: center;
            margin-bottom: 24px;
        }
        .login-logo img {
            height: 50px;
        }
        .login-logo h5 {
            margin-top: 10px;
            color: #555;
            font-size: 14px;
        }

/* ===== MOBILE SIDEBAR RESPONSIVE ===== */
@media (max-width: 1199px) {
    #sidebarClose {
        display: none;
    }

    .app-sidebar.close_sidebar #sidebarClose {
        display: flex !important;
    }

    .app-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .admin-sidebar-logo {
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .app-sidebar {
        width: 260px !important;
    }

    .admin-sidebar-logo {
        max-width: 120px;
    }

    #sidebarClose i {
        font-size: 20px !important;
    }
}

/* ===== Odometer fix ===== */
.odometer {
    line-height: 1 !important;
    height: auto !important;
    overflow: hidden !important;
}

.odometer .odometer-inside {
    display: inline-block !important;
}