/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
body {
    font-family: "Lato", 'Helvetica Neue', Arial, Helvetica, sans-serif;;
    background-color: #f4f7f9;
    color: #495057;
}

.navbar-brand img{
    width: 100px;
}

.browse-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.custom-file-upload {
    display: inline-block;
    padding: 6px 15px;
    cursor: pointer;
    background-color: #2a8cf4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s all;
    position: absolute;
    top: 70px;
    opacity: 0.75;
}

.custom-file-upload:hover {
    background-color: #0066d3;
    color: #fff;
}

#file-upload{
    display: none;
}

#drag-upload {
    display: flex;
    justify-content: center;
    height: 85px;
    width: 100%;
    border: 1px dashed #28a745;
    color: #2fbf51;
    background-color: #F6FFF6;
    padding: 8px;
    border-radius: 8px;
}

.first_button{
    text-align: center;
}

.submit-btn-class {
    background-color: #21ba45;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: 0.4s all;
    margin-bottom: 15px;
    padding: 10px 60px;
}

.submit-btn-class:hover {
    background-color: #1DA73E;
    color: #fff;
}

.pdf-viewport-container {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: rgba(248, 249, 250, 1);
    padding: 20px;
}

.company-selector-pdf{
    text-align: center;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    font-size: 20px;
    border: none;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    transition: 0.3s all;
}

.btn-delete:hover,
.btn-delete:focus {
    background-color: #c82333;
    color: white;
}

.modal-header {
    text-align: center;
    font-size: 20px;
    font-weight:bold;
}

.data-btn {
    margin-right:20px;
}

.data-modal-btn {
    height: 35px;
}

#table-section{
    display: none;
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.extracted-data-header{
    display: flex;
    justify-content: space-between;
    padding: 5px 0 15px 0;
}

#data-table:hover {
    overflow-y: scroll !important;
}

.extracted-data-header .header_name{
    display: flex;
    align-items: center;
}

.extracted-data-header #resetButton{
    background: #bae9fc;
    padding: 7px 20px;
}

.extracted-data-header #sendToGS{
    background: #fafcba;
    padding: 7px 20px;
}

.extracted-data-header #download-xlsx{
    background: #daedda;
}

.extracted-data-header #copy-table{
    background: #dcdceb;
}

.extracted-data-header #copy-selected-clipboard{
    background: #e7e8f8;
}

.extracted-data-header .buttons .data-modal-btn {
    height: 25px;
}

.extracted-data-header .buttons span{
    font-size: 14px;
}

.simple-table-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.simple-table th, .simple-table td {
    padding: 8px;
    border: 1px solid #e7e7e7;
}

.simple-table th {
    background-color: #c6efce;
    color: #006100;
}

.simple-table td{
    cursor: pointer;
}

.simple-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.simple-table tr:hover {
    background-color: #ddd;
}

.selected {
    border: 1px solid #a3d5ff !important;
    background-color: #eff3f6 !important;
}

.dragtable-dragged {
    opacity: 0.6;
    background-color: #ccc;
}

.dragtable-ghost {
    opacity: 0.4;
    background-color: #ddd;
}

@media screen and (max-width: 767px) {
    .custom-file-upload {
        top: 135px;
    }

    #drag-upload {
        font-size: 12px;
        height: 90px;
    }
}

@media screen and (max-width: 1100px) {
    #drag-upload {
        padding: 5px;
        font-size: 14px;
    }
}

@media screen and (max-width: 500px) {
    #drag-upload {
        font-size: 12px;
    }

    .submit-btn-class {
        padding: 5px 30px;
    }
}

.highlight {
    border: 2px solid red;
}

th {
    cursor: move;
}

/* checkbox */

.option-box {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 7px 4px;
    margin-bottom: 8px;
    display: none;
}

.option-box h5{
    font-size: 0.9rem;
    margin-left: 4px;
    margin-top: 2px;
    margin-bottom: 5px;
}

.option-item {
    display: flex;
    align-items: center;
    margin: 0px 5px;
    font-size: 11px;
}

.option-item input{
    margin-right: 3px;
}

#sendToGS{
    display: none;
}

/* Modal Overlay */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

/* Modal Content Box */
.custom-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.4s;
}

/* Header and Text Styling */
.custom-modal-content h3 {
    margin-top: 0;
    color: #333;
}

.custom-modal-content .body-p {
    color: #666;
    font-size: 1rem;
    margin: 30px 0 20px;
  }

/* Close Button */
.emailModal-close-btn {
    position: absolute;
    right: 13px;
    top: -2px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}  

.emailModal-close-btn:hover {
    color: #555;
}

/* Form Group for Input */
.form-group {
    margin-bottom: 20px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Confirm Button */
.confirm-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.confirm-btn:hover {
    background-color: #0056b3;
}


.professional-note {
    position: fixed;
    top: 50%;
    left: 45.5%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    z-index: 1050;
    max-width: 600px;
    width: 90%;
    text-align: center;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.professional-note p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .professional-note {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

@media screen and (max-width: 500px) {
    .professional-note {
        padding: 1.5rem;
        font-size: 0.9rem;
        max-width: 300px;
        top: 60%;
        left: 46%;
        transform: translate(-50%, -50%);
    }
    
}