/* ==========================================================
   JustOnlineTools.com - Classic Utility Bootstrap Stylesheet
   Old-school clean, fast, AdSense-friendly UI/UX
   ========================================================== */

html, body {
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    background-color: #f2f3f5;
}

body {
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1 0 auto;
}

a {
    color: #23527c;
}

a:hover {
    color: #163754;
    text-decoration: underline;
}

/* Classic Dark Top Navbar */
.classic-navbar {
    background-color: #222d32;
    border-bottom: 3px solid #337ab7;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.classic-navbar .navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.classic-navbar .brand-tld {
    color: #8cc5f8;
    font-weight: normal;
    font-size: 0.95rem;
}

.classic-navbar .nav-link {
    color: #d8dee2 !important;
    font-weight: 500;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

.classic-navbar .nav-item.active .nav-link,
.classic-navbar .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.classic-dropdown {
    border-radius: 3px;
    border: 1px solid #cccccc;
    font-size: 13.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.privacy-pill {
    color: #cfd8dc !important;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 3px;
}

/* Classic Breadcrumb */
.classic-breadcrumb {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    padding: 0.5rem 0.9rem;
    font-size: 13px;
    margin-bottom: 1rem;
}

/* Classic Panel (Bootstrap 3 style crisp box) */
.classic-panel {
    background-color: #ffffff;
    border: 1px solid #d4d7dc;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.classic-panel-header {
    background-color: #f7f8fa;
    border-bottom: 1px solid #e1e4e8;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 15px;
    color: #2c3e50;
}

.classic-panel-body {
    padding: 18px;
}

/* Classic Hero Box (Old Utility Style) */
.classic-hero {
    background-color: #ffffff;
    border: 1px solid #d4d7dc;
    border-top: 3px solid #337ab7;
    border-radius: 3px;
    padding: 24px 22px;
    margin-bottom: 22px;
}

.classic-hero h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222d32;
    margin-bottom: 10px;
}

/* Tool Directory Cards */
.tool-card {
    background-color: #ffffff;
    border: 1px solid #d4d7dc;
    border-radius: 3px;
    padding: 18px;
    height: 100%;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.tool-card:hover {
    border-color: #337ab7;
    background-color: #fbfdff;
}

.tool-card-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 3px;
    font-size: 20px;
    background-color: #f0f4f8;
    border: 1px solid #d6e0ea;
    margin-bottom: 12px;
}

.tool-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222d32;
}

.tool-card p {
    font-size: 13.5px;
    color: #555555;
    margin-bottom: 14px;
}

/* Classic Buttons */
.btn-classic-primary {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #ffffff;
    border-radius: 3px;
    font-weight: 600;
}

.btn-classic-primary:hover {
    background-color: #286090;
    border-color: #204d74;
    color: #ffffff;
}

.btn-classic-success {
    background-color: #5cb85c;
    border-color: #4cae4c;
    color: #ffffff;
    border-radius: 3px;
    font-weight: 600;
}

.btn-classic-success:hover {
    background-color: #449d44;
    border-color: #398439;
    color: #ffffff;
}

/* Classic Dropzone */
.classic-dropzone {
    border: 2px dashed #aeb6bf;
    background-color: #f9fafb;
    border-radius: 3px;
    padding: 28px 18px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.classic-dropzone:hover,
.classic-dropzone.drag-over {
    background-color: #eef5fc;
    border-color: #337ab7;
}

.classic-dropzone .dropzone-icon {
    font-size: 36px;
    color: #337ab7;
    margin-bottom: 8px;
}

/* Preview Grid & Thumbnails */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 14px;
}

.preview-item {
    background-color: #ffffff;
    border: 1px solid #d4d7dc;
    border-radius: 3px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-thumb-wrap {
    background-color: #f2f3f5;
    border: 1px solid #e5e7eb;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
}

.preview-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-meta {
    font-size: 12px;
    color: #555555;
    word-break: break-all;
    margin-bottom: 6px;
}

/* Sidebar Active Link */
.classic-side-list .list-group-item {
    font-size: 13.5px;
    padding: 10px 14px;
}

.classic-side-list .list-group-item.active {
    background-color: #337ab7;
    border-color: #337ab7;
    color: #ffffff;
}

/* Tool Options Bar */
.options-box {
    background-color: #f8f9fa;
    border: 1px solid #dfe3e8;
    border-radius: 3px;
    padding: 14px;
}

/* Content & FAQ Typography */
.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222d32;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
    margin-top: 0;
    margin-bottom: 12px;
}

.content-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 16px;
    margin-bottom: 6px;
}

.faq-item {
    border-bottom: 1px solid #eceef1;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #222d32;
    margin-bottom: 4px;
}

/* Classic Footer */
.classic-footer {
    flex-shrink: 0;
    background-color: #222d32;
    color: #c5cfd6;
    border-top: 3px solid #337ab7;
}

.classic-footer .footer-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 6px;
}

.classic-footer .footer-text {
    font-size: 13px;
    color: #b8c4cc;
}

.classic-footer .footer-links li {
    margin-bottom: 5px;
    font-size: 13.5px;
}

.classic-footer .footer-links a {
    color: #cfd8dc;
    text-decoration: none;
}

.classic-footer .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    background-color: #1a2226;
    color: #9aa7b0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Progress Bar Classic */
.progress {
    height: 20px;
    border-radius: 3px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #337ab7;
    font-size: 12px;
    font-weight: 600;
}

/* Textarea for Text to PDF */
.classic-textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13.5px;
    border-radius: 3px;
    resize: vertical;
}


/* Live Tool Search Bar & Category Filter */
.classic-search-wrap .form-control {
    border-radius: 3px 0 0 3px;
    border-color: #c5ccd3;
}

.classic-search-wrap .btn {
    border-radius: 0 3px 3px 0;
}

.cat-filter-btn {
    border-radius: 3px;
    font-size: 12.5px;
}

/* Policy-Compliant AdSense Containers (CLS-safe) */
.ad-slot-wrapper {
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 3px;
    padding: 8px;
    overflow: hidden;
}

.ad-slot-top-banner {
    min-height: 100px;
}

.ad-slot-sidebar {
    min-height: 250px;
}

.ad-slot-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9aa5b1;
    margin-bottom: 4px;
}
