/* Base64 Encoder Tool Specific Styles - Scoped to not affect header/footer */
    .b64-tool-section {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .b64-tool-section * {
        box-sizing: border-box;
    }
    
    .b64-primary-bg {
        background-color: #123f6c !important;
    }
    
    .b64-secondary-bg {
        background-color: #57add8 !important;
    }
    
    .b64-white-bg {
        background-color: #ffffff !important;
    }
    
    .b64-primary-text {
        color: #123f6c !important;
    }
    
    .b64-secondary-text {
        color: #57add8 !important;
    }
    
    .b64-tool-section .b64-breadcrumb {
        background-color: #f8f9fa;
        padding: 12px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .b64-tool-section .b64-breadcrumb a {
        color: #123f6c;
        text-decoration: none;
        font-weight: 500;
    }
    
    .b64-tool-section .b64-breadcrumb a:hover {
        color: #57add8;
    }
    
    .b64-tool-section .b64-breadcrumb .separator {
        color: #6c757d;
        margin: 0 8px;
    }
    
    .b64-tool-section .b64-breadcrumb .current {
        color: #6c757d;
    }
    
    .b64-tool-section .b64-hero-section {
        background-color: #123f6c;
        color: #ffffff;
        padding: 40px 0;
    }
    
    .b64-tool-section .b64-hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .b64-tool-section .b64-hero-section p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }
    
    .b64-tool-section .b64-rating-stars {
        color: #ffc107;
        font-size: 1.1rem;
    }
    
    .b64-tool-section .b64-rating-text {
        color: #ffffff;
        font-size: 0.95rem;
        margin-left: 10px;
    }
    
    .b64-tool-section .b64-main-content {
        padding: 30px 0;
        background-color: #f5f7fa;
        min-height: 600px;
    }
    
    .b64-tool-section .b64-tool-card {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 15px rgba(18, 63, 108, 0.1);
        padding: 25px;
        margin-bottom: 25px;
        border: 1px solid #e9ecef;
    }
    
    .b64-tool-section .b64-tool-card h2 {
        color: #123f6c;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #57add8;
    }
    
    .b64-tool-section .b64-textarea {
        width: 100%;
        min-height: 200px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 15px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 14px;
        resize: vertical;
        transition: border-color 0.3s ease;
    }
    
    .b64-tool-section .b64-textarea:focus {
        outline: none;
        border-color: #57add8;
        box-shadow: 0 0 0 3px rgba(87, 173, 216, 0.1);
    }
    
    .b64-tool-section .b64-textarea::placeholder {
        color: #adb5bd;
    }
    
    .b64-tool-section .b64-btn-primary {
        background-color: #123f6c;
        border: none;
        color: #ffffff;
        padding: 12px 30px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-btn-primary:hover {
        background-color: #0d2d4d;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(18, 63, 108, 0.3);
    }
    
    .b64-tool-section .b64-btn-secondary {
        background-color: #57add8;
        border: none;
        color: #ffffff;
        padding: 12px 30px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-btn-secondary:hover {
        background-color: #3d9bc9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(87, 173, 216, 0.3);
    }
    
    .b64-tool-section .b64-btn-outline {
        background-color: transparent;
        border: 2px solid #123f6c;
        color: #123f6c;
        padding: 10px 25px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-btn-outline:hover {
        background-color: #123f6c;
        color: #ffffff;
    }
    
    .b64-tool-section .b64-options-row {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin: 15px 0;
    }
    
    .b64-tool-section .b64-options-row label {
        color: #123f6c;
        font-weight: 500;
        margin-right: 10px;
    }
    
    .b64-tool-section .b64-options-row select {
        padding: 8px 15px;
        border: 1px solid #ced4da;
        border-radius: 5px;
        color: #123f6c;
        font-size: 0.9rem;
    }
    
    .b64-tool-section .b64-options-row select:focus {
        outline: none;
        border-color: #57add8;
    }
    
    .b64-tool-section .b64-char-count {
        font-size: 0.85rem;
        color: #6c757d;
        text-align: right;
        margin-top: 8px;
    }
    
    .b64-tool-section .b64-action-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 15px;
    }
    
    .b64-tool-section .b64-ad-space {
        background-color: #ffffff;
        border: 2px dashed #dee2e6;
        border-radius: 8px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #adb5bd;
        font-size: 0.9rem;
    }
    
    .b64-tool-section .b64-ad-space-horizontal {
        background-color: #ffffff;
        border: 2px dashed #dee2e6;
        border-radius: 8px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #adb5bd;
        font-size: 0.9rem;
        margin: 20px 0;
    }
    
    .b64-tool-section .b64-features-section {
        background-color: #ffffff;
        padding: 40px 0;
    }
    
    .b64-tool-section .b64-feature-box {
        text-align: center;
        padding: 25px 20px;
        border-radius: 10px;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
        height: 100%;
    }
    
    .b64-tool-section .b64-feature-box:hover {
        box-shadow: 0 5px 20px rgba(18, 63, 108, 0.1);
        transform: translateY(-5px);
    }
    
    .b64-tool-section .b64-feature-box .icon {
        width: 60px;
        height: 60px;
        background-color: #57add8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        color: #ffffff;
        font-size: 1.5rem;
    }
    
    .b64-tool-section .b64-feature-box h3 {
        color: #123f6c;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .b64-tool-section .b64-feature-box p {
        color: #6c757d;
        font-size: 0.9rem;
        margin: 0;
    }
    
    .b64-tool-section .b64-content-section {
        background-color: #f5f7fa;
        padding: 40px 0;
    }
    
    .b64-tool-section .b64-content-card {
        background-color: #ffffff;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(18, 63, 108, 0.08);
        margin-bottom: 25px;
    }
    
    .b64-tool-section .b64-content-card h2 {
        color: #123f6c;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .b64-tool-section .b64-content-card h3 {
        color: #123f6c;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 20px 0 10px;
    }
    
    .b64-tool-section .b64-content-card p {
        color: #495057;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .b64-tool-section .b64-content-card ul {
        color: #495057;
        line-height: 1.8;
    }
    
    .b64-tool-section .b64-content-card ul li {
        margin-bottom: 8px;
    }
    
    .b64-tool-section .b64-related-tools {
        background-color: #ffffff;
        padding: 40px 0;
        border-top: 1px solid #e9ecef;
    }
    
    .b64-tool-section .b64-section-title {
        color: #123f6c;
        font-size: 1.8rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .b64-tool-section .b64-related-tool-card {
        background-color: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .b64-tool-section .b64-related-tool-card:hover {
        border-color: #57add8;
        box-shadow: 0 5px 20px rgba(87, 173, 216, 0.15);
        transform: translateY(-5px);
    }
    
    .b64-tool-section .b64-related-tool-card .tool-icon {
        width: 50px;
        height: 50px;
        background-color: #123f6c;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px;
        color: #ffffff;
        font-size: 1.3rem;
    }
    
    .b64-tool-section .b64-related-tool-card h4 {
        color: #123f6c;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .b64-tool-section .b64-related-tool-card p {
        color: #6c757d;
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .b64-tool-section .b64-related-tool-card a {
        color: #57add8;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.9rem;
    }
    
    .b64-tool-section .b64-related-tool-card a:hover {
        color: #123f6c;
    }
    
    /* Toast Notification Styles */
    .b64-tool-section .b64-toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
    }
    
    .b64-tool-section .b64-toast {
        background-color: #123f6c;
        color: #ffffff;
        padding: 15px 25px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        animation: b64SlideIn 0.3s ease;
        max-width: 350px;
    }
    
    .b64-tool-section .b64-toast.success {
        background-color: #198754;
    }
    
    .b64-tool-section .b64-toast.error {
        background-color: #dc3545;
    }
    
    .b64-tool-section .b64-toast.info {
        background-color: #57add8;
    }
    
    .b64-tool-section .b64-toast-close {
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        font-size: 1.2rem;
    }
    
    @keyframes b64SlideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes b64SlideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }
    
    /* File Upload Styles */
    .b64-tool-section .b64-file-upload {
        border: 2px dashed #57add8;
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #f8fbfd;
    }
    
    .b64-tool-section .b64-file-upload:hover {
        background-color: #eef7fc;
        border-color: #123f6c;
    }
    
    .b64-tool-section .b64-file-upload.dragover {
        background-color: #e3f2fd;
        border-color: #123f6c;
    }
    
    .b64-tool-section .b64-file-upload i {
        font-size: 3rem;
        color: #57add8;
        margin-bottom: 15px;
    }
    
    .b64-tool-section .b64-file-upload p {
        color: #6c757d;
        margin: 0;
    }
    
    .b64-tool-section .b64-file-upload .browse-link {
        color: #123f6c;
        font-weight: 600;
        text-decoration: underline;
    }
    
    /* Tab Styles */
    .b64-tool-section .b64-tabs {
        display: flex;
        border-bottom: 2px solid #e9ecef;
        margin-bottom: 20px;
    }
    
    .b64-tool-section .b64-tab {
        padding: 12px 25px;
        background: none;
        border: none;
        font-size: 1rem;
        font-weight: 600;
        color: #6c757d;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-tab:hover {
        color: #57add8;
    }
    
    .b64-tool-section .b64-tab.active {
        color: #123f6c;
        border-bottom-color: #123f6c;
    }
    
    .b64-tool-section .b64-tab-content {
        display: none;
    }
    
    .b64-tool-section .b64-tab-content.active {
        display: block;
    }
    
    /* FAQ Section */
    .b64-tool-section .b64-faq-section {
        background-color: #f5f7fa;
        padding: 40px 0;
    }
    
    .b64-tool-section .b64-faq-item {
        background-color: #ffffff;
        border-radius: 8px;
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
        overflow: hidden;
    }
    
    .b64-tool-section .b64-faq-question {
        padding: 18px 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        color: #123f6c;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-faq-question:hover {
        background-color: #f8f9fa;
    }
    
    .b64-tool-section .b64-faq-question i {
        transition: transform 0.3s ease;
    }
    
    .b64-tool-section .b64-faq-item.active .b64-faq-question i {
        transform: rotate(180deg);
    }
    
    .b64-tool-section .b64-faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .b64-tool-section .b64-faq-item.active .b64-faq-answer {
        padding: 0 20px 20px;
        max-height: 500px;
    }
    
    .b64-tool-section .b64-faq-answer p {
        color: #495057;
        line-height: 1.7;
        margin: 0;
    }
    
    /* Responsive Styles */
    @media (max-width: 991px) {
        .b64-tool-section .b64-ad-space {
            min-height: 250px;
            margin-bottom: 20px;
        }
    }
    
    @media (max-width: 768px) {
        .b64-tool-section .b64-hero-section h1 {
            font-size: 1.6rem;
        }
        
        .b64-tool-section .b64-hero-section p {
            font-size: 0.95rem;
        }
        
        .b64-tool-section .b64-action-buttons {
            justify-content: center;
        }
        
        .b64-tool-section .b64-btn-primary,
        .b64-tool-section .b64-btn-secondary,
        .b64-tool-section .b64-btn-outline {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
    }
    
    /* Modal Styles */
    .b64-tool-section .b64-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9998;
    }
    
    .b64-tool-section .b64-modal-overlay.active {
        display: flex;
    }
    
    .b64-tool-section .b64-modal {
        background-color: #ffffff;
        border-radius: 10px;
        max-width: 500px;
        width: 90%;
        padding: 30px;
        position: relative;
        animation: b64ModalIn 0.3s ease;
    }
    
    @keyframes b64ModalIn {
        from {
            transform: scale(0.9);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    .b64-tool-section .b64-modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #6c757d;
    }
    
    .b64-tool-section .b64-modal-close:hover {
        color: #123f6c;
    }
    
    .b64-tool-section .b64-modal h3 {
        color: #123f6c;
        margin-bottom: 15px;
    }
    
    .b64-tool-section .b64-modal p {
        color: #495057;
    }