﻿.containerborder {
    box-shadow: 1px 1px 1px 1px #fdfdfd;
    border: 1px solid #e6e6e6;
    background: white;
    padding: 30px;
}

.margin-right {
    margin-right: 5px;
}


.icon_sty {
    /* max-height: 120px; */
    width: 158px;
    width: 164px;
    margin-bottom: 25px;
    cursor: pointer;
    color: #3490dc;
    text-decoration: none;
    background-color: transparent;
}

    .icon_sty div {
        width: 80px;
        height: 80px;
        box-shadow: 0px 0px 5px 5px #eef1f5;
        border-radius: 5px;
        background-position: center center;
        background-repeat: no-repeat;
        margin: 0px auto;
        margin-bottom: 10px;
        position: relative;
        overflow: hidden;
    }

    .icon_sty span {
        font-size: 13px;
        font-weight: 600;
        color: #000;
        width: 85%;
        width: 140px;
        margin: 0px auto;
    }

.p-1 {
    padding: 0.25rem !important;
}

.textSetting {
    padding-top: 20%;
}

#toolsContainer {
    padding: 20px;
    background: #f8fafc;
}

.popular_tools {
    right: 0px;
    font-size: 13px;
    color: #000;
}

    .popular_tools .col {
        min-height: 30px;
        border-bottom: 1px solid #E3E7ED;
    }

        .popular_tools .col a {
            color: #000;
        }

.sub_headings {
    font-weight: 600;
    font-size: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.headerCls {
    width: 30%;
    background: #f3f3f3 !important;
}

.field-validation-error {
    color: red;
    font-weight: 500;
}

.h2styling {
    border-bottom: 1px solid #0ea2bd;
}

/* Side Panel CSS starts */
.containerborder.popular_tools {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

.popular_tools .sub_headings {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 6px;
    margin-bottom: 15px;
    text-align: center;
}

.popular_tools .col {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    padding: 8px 12px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 6px;
}

    .popular_tools .col:hover {
        background-color: #1abc9c;
        box-shadow: 0 4px 8px rgba(26,188,156,0.3);
    }

        .popular_tools .col:hover a,
        .popular_tools .col:hover i {
            color: #fff !important;
        }

.popular_tools i.fa-arrow-right {
    margin-right: 10px;
    color: #1abc9c;
    min-width: 18px;
    transition: color 0.25s ease;
    font-size: 0.9rem;
}

.popular_tools a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    flex-grow: 1;
    transition: color 0.25s ease;
}

    .popular_tools a:hover {
        text-decoration: underline;
    }

/* Side Panel CSS ends */

/* Layout CSS starts */

.row {
    margin-right: 0px !important;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fa;
}

.navbar-brand img {
    height: 40px;
}

.hero {
    background: linear-gradient(120deg, #1abc9c, #16a085);
    color: white;
    padding: 80px 0;
    text-align: center;
}

    .hero h1 span {
        color: #ffeaa7;
    }

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.tool-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.tool-card {
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 40px;
    color: #1abc9c;
    margin-bottom: 10px;
}

.footer {
    background: #343a40;
    color: #dee2e6;
}

    .footer a {
        color: #adb5bd;
    }

        .footer a:hover {
            color: #fff;
        }

.testimonial-card {
    background: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.containerborder {
    background: white;
}
/* Layout CSS Ends */

/* base 64 to image html starts */
.base64-img-container, .image-resizer-container, .img2pdf-container, .img2b64-container, .calc-container, .logo-container, .stopwatch-container, .tts-container,
.signature-container, .organizer-container, .fontface-container, .htmlimg-container, .html2pdf-container, .logo-title, .pwgen-container, .texteditor-container,
.joiner-container, .splitter-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.base64-title, .resizer-title, .img2pdf-title, .img2b64-title, .noteencryptor-title, .calc-title, .signature-title, .tts-title, .splitter-title,
.organizer-title, .fontface-title, .htmlimg-title, .html2pdf-title, .pwgen-title, .stopwatch-title, .texteditor-title, .joiner-title {
    font-size: 2rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 1.5rem;
    text-align: center;
}

.base64-btn, .resizer-btn, .img2pdf-btn, .img2b64-btn, .img2b64-btn:hover, .signature-btn, .organizer-btn, .splitter-btn,
.fontface-btn, .htmlimg-btn, .html2pdf-btn, .pwgen-btn, .stopwatch-btn, .texteditor-btn, .tts-btn, .joiner-btn {
    background-color: #1abc9c;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

    .base64-btn:hover, .resizer-btn:hover, .img2pdf-btn:hover, .noteencryptor-btn:hover, .html2pdf-btn:hover, .logo-btn:hover, .stopwatch-btn:hover, .joiner-btn:hover,
    .pdf2img-btn:hover, .calc-btn:hover, .signature-btn:hover, .fontface-btn:hover, .htmlimg-btn:hover, .pwgen-btn:hover, .texteditor-btn:hover, .tts-btn:hover,
    .splitter-btn:hover {
        background-color: #16a085;
    }

.form-row {
    margin-bottom: 20px;
    text-align: center;
}

.result-container {
    text-align: center;
    margin-top: 20px;
    word-break: break-all;
}

.img-preview {
    max-width: 100%;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    padding: 4px;
    border-radius: 4px;
}

/* base 64 to image html ends */

/*resize image css starts
*/

.resizeimagecontainer {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
}



.resizer-upload-label, .img2pdf-upload-label, .pdf2img-upload-label {
    cursor: pointer;
    color: #495057;
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

input[type="number"] {
    width: 120px;
    padding: 6px 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin: 0 10px;
}

#fileNameDisplay {
    font-weight: 600;
    margin-top: 5px;
    color: #333;
    text-align: center;
}

#resize-loader {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

#downloadAllBtn {
    display: none;
    margin-bottom: 20px;
}

.image-result-container, .result-container, .result-container h5 {
    text-align: center;
}

    .image-result-container h5 {
        margin-bottom: 20px;
        color: #212529;
    }

/* SEO Content */
.seo-content {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #343a40;
    margin-bottom: 40px;
}

    .seo-content h2, .noteencryptor-seo h2, .pdf2img-seo h2, .interactive-section h2 {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #212529;
        text-align: center;
    }

    .seo-content p, .pdf2img-seo p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }

/* resize image css ends*/

/**Image to pdf css starts*/

#img2pdf-loader {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.sr-only-file {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/**Image to pdf css ends*/

.result-container2 {
    text-align: center;
    margin-top: 20px;
    word-break: break-all;
}

.textareastyle {
    width: 100%;
    min-height: 120px;
    font-family: monospace;
    font-size: 1rem;
    margin-bottom: 10px;
}

.noteencryptor-container, .pdf2img-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}


#noteencryptor-note,
#noteencryptor-password,
#noteencryptor-output {
    background-color: #ffffff !important;
    color: #212529 !important;
    border: 1px solid #ced4da !important;
}

.noteencryptor-btn, .pdf2img-btn {
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
}

.noteencryptor-upload {
    display: none;
}


.noteencryptor-upload-label {
    cursor: pointer;
    color: #495057;
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    display: inline-block;
}

.noteencryptor-seo, .pdf2img-seo {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .noteencryptor-seo p {
        color: #343a40;
        margin-bottom: 1rem;
    }

.interactive-section p {
    color: #343a40;
    margin-bottom: 1rem;
    text-align: center;
}

.interactive-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.calc-row {
    display: flex;
    justify-content: center;
}

.calc-btn {
    background-color: #1abc9c;
    color: #fff;
    border: none;
    padding: 15px 0;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
    padding-left: 15px;
    padding-right: 15px;
}

.calc-display {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    min-height: 48px;
    text-align: right;
}

.signature-pad {
    border: 2px solid #1abc9c;
    border-radius: 8px;
    background: #f8f9fa;
    width: 100%;
    max-width: 500px;
    height: 180px;
    margin: 0 auto 15px auto;
    display: block;
    cursor: crosshair;
}

.signature-type {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1abc9c;
    text-align: center;
}

#upload-preview {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

#html-preview {
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 80px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    overflow: auto;
}

.result-container3 {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.logo-preview-block {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    min-width: 220px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .logo-preview-block img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .logo-preview-block .logo-btn {
        margin: 0;
        width: 100%;
    }

.logo-style-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1abc9c;
}

.pswinput {
    width: 120px;
    padding: 6px 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin: 0 10px;
}

.lap-list {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    min-width: 250px;
}

    .lap-list li {
        font-family: monospace;
        font-size: 1rem;
        padding: 2px 0;
        border-bottom: 1px solid #eee;
    }

.stopwatch-time {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.editor-area {
    width: 100%;
    min-height: 240px;
    font-family: monospace;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    resize: vertical;
}

.selectwidth {
    min-width: 180px;
    margin-bottom: 10px;
}

.result-container4 {
    text-align: left;
    margin-top: 20px;
    word-break: break-all;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.word-list {
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}

    .word-list li {
        padding: 2px 0;
        border-bottom: 1px solid #eee;
    }

/* HTML Formatter styles */
.code-pre {
    width: 100%;
    box-sizing: border-box;
    font-family: Menlo, Monaco, "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #212529;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    overflow: auto;
    padding: 0;
}

.code-wrap {
    display: flex;
    align-items: flex-start;
    min-height: 120px;
}

.code-wrap .gutter {
    margin: 0;
    padding: 10px 8px 10px 12px;
    width: 56px;
    text-align: right;
    user-select: none;
    color: #6c757d;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    overflow: hidden;
}

.code-wrap .code {
    margin: 0;
    padding: 10px;
    white-space: pre;
    overflow: auto;
    flex: 1;
    background: transparent;
    min-width: 0;
}

/* existing error mark */
.html-error {
    background: rgba(220,53,69,0.12);
    border-left: 3px solid #dc3545;
    padding-left: 2px;
    padding-right: 2px;
    display: inline;
    border-radius: 2px;
}

/* copy button position tweak if needed */
.copy-btn {
    position: absolute;
    right: 12px;
    top: 28px;
    background: #1abc9c;
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}
.copy-btn:hover { background: #16a085; }