/*
Theme Name: Hello Elementor Child
Theme URI: https://emailmonitoring.io/hello-elementor-child
Description: A child theme for the Hello Elementor theme.
Author: Aman Kumar
Author URI: https://emailmonitoring.io/
Template: hello-elementor
Version: 1.0.0
*/

/* Import Parent Theme Stylesheet */
@import url("../hello-elementor/style.css");

/* check score page css*/
.envato-block__preview {
    overflow: visible !important;
}
body {
    margin: 0;
    font-family: "Lexend Deca", sans-serif !important;
}

.bg-img {
    background-image: url('https://emailmonitoring.io/wp-content/uploads/2025/05/bg1.jpg'); /* Update with your image URL */
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
}

.bg-img h4 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
    color: #281A4B;
}

.inner_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px;
}

.inner_content h1 {
    font-size: 44px;
    font-weight: 500;
    color: #281A4B;
}

.content_container {
    max-width: 800px;
    margin: auto;
    padding: 50px 10px;
}

.custom_card {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    border-radius: 1rem;
}

.custom_card .title {
    font-weight: 600;
    padding-right: 10px;
    font-size: 24px;
    display: block;
    margin-bottom: 20px;
    color: #281A4B;
}

.custom_card .text_content {
    line-height: 26px;
    flex: 1;
    padding-right: 40px;
    max-width: 90%;
}

.circle.negative {
    background-color: #F9AE4B;
}

.score {
    position: absolute;
    display: grid;
    place-items: center;
    width: 4em;
    height: 4em;
    background: #f3eeff;
    transition: 1s ease;
    inset: calc(50% - 2em) 0 0 calc(100% - 4em);
    border-top-left-radius: 1.25em;
    border-bottom-left-radius: 1.25em;
}

.circle {
    width: 3em;
    aspect-ratio: 1;
    background: #91B864;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.score::before {
    inset: -1.25em 0 0 calc(100% - 1.25em);
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0.3em 0.3em 0 0.3em #f3eeff;
}

.score::after {
    inset: 100% 0 0 calc(100% - 1.25em);
    border-top-right-radius: 1.25em;
    box-shadow: 0.3em -0.3em 0 0.3em #f3eeff;
}

.score::before,
.score::after {
    position: absolute;
    content: "";
    width: 1.25em;
    height: 1.25em;
    background: transparent;
    transition: 1s ease;
}

.section_bg {
    background-color: #f3eeff;
}

.score_btn {
    background-color: white;
    border-radius: 30px;
    padding: 15px 50px;
    font-size: 30px;
    font-weight: 700;
    color: #281A4B;
    display: none;
}

.total {
    font-size: 30px;
    text-align: end;
    margin: 30px 0 0;
    color: #281A4B;
}

.section_2 {
    background: linear-gradient(-90deg, rgb(5, 5, 26), rgb(43, 28, 79), rgb(5, 5, 26));
    padding: 20px;
}

.inner_container {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    color: white;
    flex-wrap: wrap;
    row-gap: 10px;
}

.inner_container>div {
    display: flex;
    align-items: center;
}

#myProgress {
    
    width: 100%;
    background-color: white;
    border-radius: 30px;
    margin-top: 30px;
}

#myBar {
    width: 1%;
    height: 10px;
    background-color: #281A4B;
    border-radius: 20px;
}
.card_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card_wrapper .custom_card {
    flex-grow: 1;
}

.card_wrapper .action_btn {
    position: absolute;
    right: -150px;
    top: 40%;
    transform: translateY(-50%);
    padding: 10px 20px;
    font-size: 14px;
    background-color: #281A4B;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    z-index: 2;
}
.close-btn {
    position: absolute;
    top: 0px;
    right: 5px;
    background: white;
    border: none;
    cursor: pointer;
    z-index: 11;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30%;
}
.bcl-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #281A4B;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 600px;
    display: none;
}

.scl-tooltip {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #281A4B;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 600px;
    display: none;
}

.bcl-table, .scl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bcl-table th, .scl-table th,
.bcl-table td, .scl-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.bcl-table th, .scl-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.close-btn img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}
.bcl-table th {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}
.scl-table th {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}
.scrollable-tbody {
    max-height: 250px; /* Adjust this height to show approx 3 rows */
    overflow-y: auto;
    margin-top: -1px; /* Fix table border overlap */
}

.scrollable-tbody table {
    width: 100%;
    border-collapse: collapse;
}

.scrollable-tbody td {
    background-color: #281A4B;
}
.test-again-btn {
    margin-top: 90px;
    transform: none !important;
    background-color: #4CAF50; /* Optional: Green button for distinction */
}
/* For screens smaller than 768px */
@media (max-width: 768px) {
    .inner_content {
        padding: 50px 20px;
        text-align: center;
    }

    .inner_content h1 {
        font-size: 28px;
    }

    .card_wrapper {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .card_wrapper .action_btn {
        position: relative;
        right: 0;
        top: auto;
        transform: none;
        margin-top: 10px;
        align-self: flex-start;
    }

    .custom_card .text_content {
        padding-right: 0;
        max-width: 100%;
    }

    .score {
        position: static;
        margin-top: 15px;
    }

    .circle {
        width: 2.5em;
    }

    .bcl-tooltip, .scl-tooltip {
        width: 100%;
        left: 0;
        transform: none;
        top: auto;
        position: relative;
        margin-top: 20px;
    }

    .scrollable-tbody {
        max-height: 200px;
    }

    .inner_container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .section_2 div {
        margin-bottom: 10px;
    }

    .test-again-btn {
        /* width: 100%; */
        font-size: 18px;
    }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
    .inner_content h1 {
        font-size: 22px;
    }

    .custom_card .title {
        font-size: 20px;
    }

    .card_wrapper .action_btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .circle {
        width: 2em;
    }

    .scrollable-tbody {
        max-height: 150px;
    }
}
@media (max-width: 1366px) {
    .card_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .card_wrapper .action_btn {
        position: relative;
        right: 0;
        top: auto;
        transform: none;
        margin-top: 10px;
    }

    .score {
        position: relative;
        inset: unset;
        margin-top: 10px;
    }
}
@media (max-width: 1024px) {
    .inner_container {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
    }

    .inner_container > div {
        width: 100%;
        justify-content: flex-start;
    }

    .inner_container img {
        margin-right: 8px;
    }
}

@media (max-width:768px){
    .bg-img{
        background-position: 83% 0%;
        position: relative;
    }
    .bg-img::before{
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
    }
}

@media (max-width:600px){
    .inner_content{
        padding: 30px;
    }
}   

/* Email Monitoring Section Styles */
.bg-box {
    background: linear-gradient(-90deg, rgb(5, 5, 26), rgb(43, 28, 79), rgb(5, 5, 26));
    text-align: center;
    padding: 60px 10px;
    font-family: "Lexend Deca", sans-serif;
}

.bg-box h2,
.bg-box h4 {
    color: #fff;
    margin: 0;
}

.bg-box h2 {
    margin-bottom: 40px;
    color: #FFB359;
    font-size: 44px;
}

.bg-box h2 span {
    color: #80C4E9;
}

.bg-box h4 {
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 300;
}

.inputBox {
    max-width: 500px;
    margin: auto;
    display: flex;
    position: relative;
}

.bg-box input {
    padding: 8px;
    background-color: transparent;
    border: 1px solid #4F6BC254;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    flex: 1;
    font-size: 16px;
    letter-spacing: 1px;
    color: white;
}

.bg-box input:focus {
    outline: 0;
}

.inputBox button {
    width: 50px;
    background-color: #4F6BC254;
    border: 0;
    padding: 8px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
}

.inputBox button img {
    filter: invert(1);
}

.submitbtn {
    background-color: #FFB359;
    border: 0;
    padding: 15px;
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    margin-top: 30px;
    font-size: 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-family: "Lexend Deca", sans-serif;
}
.copy-tooltip {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 999;
}
.copy-tooltip.show {
    opacity: 1;
}
.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 14px;
}
.info-row span {
    display: flex;
    align-items: center;
}
