.line {
    background-color: #00ade1;
    height: 17px;
    width: 100%;
}


#conclusion-main {
    padding: 50px;
    /* margin: 16px 120px 16px 120px; */
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
}

@media (max-width: 390px) {
    #conclusion-main {
        padding: 24px;
    }
}

#summary-content .modal-title {
    color: #0058A0;
}

#summary-content .modal-description {
    margin-top: 24px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2D2D2D;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 0px;
}

h3 {
    font-size: 25px;
    line-height: 30px;
}

h4 {
    font-size: 20px;
    line-height: 25px;
}

h5 {
    font-size: 16px;
    line-height: 25px;
}

p {
    font-size: 16px;
    margin-bottom: 0px;
}


@keyframes slideIn {
    0% {
        transform: translateY(400px);
        animation-timing-function: ease-out;
    }

    60% {
        transform: translateY(-30px);
        animation-timing-function: ease-in;
    }

    80% {
        transform: translateY(10px);
        animation-timing-function: ease-out;
    }

    100% {
        transform: translateY(0px);
        animation-timing-function: ease-in;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


img {
    border-radius: 12px;
}

#report-success {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #DFE0E1;
}

#report-success-text {
    flex: 1;
    min-width: 0;
}

#report-success-text .title {
    margin-bottom: 24px !important;
}

#report-success-text .top-text {
    margin-bottom: 16px !important;
}

#report-success-text .top-text p {
    padding-bottom: 8px !important;
}

#report-success-img {
    flex: 0 0 auto;
    width: 200px;
}

#report-success-img img {
    width: 100%;
    height: auto;
}

#conclusion-protocol-number {
    margin-bottom: 32px;
}

#conclusion-actions {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 32px;
}

.left-buttons {
    display: flex;
    gap: 32px;
    font-size: 16px;
}

/*****************BUTTON*****************/
@media (max-width: 1023px) {
    .button {
        width: 100%;
    }

    #conclusion-actions a {
        width: 100%;
    }
}

@media (max-width: 890px) {
    #conclusion-actions {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .left-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
}

.button {
    align-items: center;
    align-self: stretch;
    border-radius: 16px;
    gap: 10px;
    justify-content: center;
    padding: 10px 24px !important;
    position: relative;
    border-style: none;
    font-family: 'Lato';
    font-size: 16px;
    font-style: normal;
    line-height: 20px;
    cursor: pointer;
}

.button[disabled] {
    background-color: #DFE0E1;
    color: #717171;
    border-style: none;
    cursor: default;
}

/* Primary button */
.button--primary {
    background-color: #0058a0;
    color: #ffffff;
    font-weight: 800;
}

.button--primary:hover:not([disabled]) {
    background-color: #0058a0;
}

/* Secondary button */
.button--secondary {
    background-color: #fff;
    color: #0058A0;
    font-weight: 600;
    border: 1.5px solid #0058A0;
}

#conclusion-privacy {
    display: flex;
    align-items: center;
    /* margin: 0 10%; */
    font-size: 14px;
    color: #717171;
    border-color: lightgray;
    border-radius: 8px;
    border-style: solid;
    border-width: 2px;
    padding: 8px 15% 8px 15%;
    margin: unset;
    font-weight: 400;
    line-height: 20px;
}

#conclusion-privacy p {
    font-size: 14px !important;
}

#conclusion-privacy a {
    font-size: 14px !important;
    text-decoration-line: underline;
    color: #228BCB;
}


body.modal-open {
    overflow: hidden;
    height: 100%;
}

.modal {
    /* NEW CSS */
    font-family: 'Lato';
    font-size: 16px;
    color: #2D2D2D;
    display: none;
    position: fixed;
    z-index: 99999;
    top: 40px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* left: 50%;
    transform: translate(-50%, -50%); */
    height: calc(100% + 80px);
    margin: 0 auto;
    background: white;
    border: 1px solid #DFE0E1;
    border-radius: 16px 16px 0px 0px;
    padding: 16px;
    /* padding: 0 16px 0 16px; */
    align-content: center;
    width: 75%;
}

/* min-width: 360px; */
/* width: 100%; */
/* height: 100%; */
/* background-color: rgba(45, 45, 45, 0.60); */
/* align-content: center;*/

/* Scrollbar settings */
.modal ::-webkit-scrollbar {
    width: 20px;
}

.modal ::-webkit-scrollbar-track {
    background: #DFE0E1;
    border-left: 9.5px solid white;
    border-right: 9.5px solid white;
}

.modal ::-webkit-scrollbar-thumb {
    background: #00ADE1;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    border-left: 7px solid white;
    border-right: 7px solid white;
    border-top-left-radius: 32px 12px;
    border-top-right-radius: 32px 12px;
    border-bottom-left-radius: 32px 12px;
    border-bottom-right-radius: 32px 12px;
}

.modal ::-webkit-scrollbar-button {
    display: none;
}

.modal[style*="display: block;"]~body {
    overflow: hidden;
    height: 100%;
}

.modal-content {
    /* NEW CSS */
    position: relative;
    max-height: 100%;
    overflow: auto;
    color: #2D2D2D;
    padding: 0 16px 0 16px;
    margin-top: 24px;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    padding-bottom: 200px;
    border-top: 1px solid #DFE0E1;
    padding-top: 48px;
    gap: 32px;
}

@media (max-width: 767px) {
    .modal-actions {
        flex-direction: column-reverse;
    }
}

#download-pdf {
    background-image: url(../images/doc-download.svg);
    background-color: transparent !important;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: right;
    background-position-x: calc(100% - 24px);
    padding-right: 48px !important;
}


#cpfl-webform-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 45, 45, 0.60);
    display: none;
}


.close-modal {
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.modal-section {
    border-top: 1px solid #DFE0E1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.modal-section .section-title {
    margin-bottom: 24px;
}

.modal-section .section-subtitle {
    color: #717171;
    margin-bottom: 8px;
}

.modal-section .details-row {
    display: flex;
    flex-direction: row;
}

.modal-section .details-row .detail-item {
    flex: 1;
}



.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ensure the validation icon appears inside the input field */
.email-validation-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.email-validation-icon.ui-icon.ui-icon-circle-close.invalid-email {
    content: url(../images/multiply.circle.svg);
    background-image: unset;
    top: 32px;
}

.email-validation-icon.ui-icon.ui-icon-check {
    content: url(../images/checkmark.svg);
    background-image: unset;
    top: 32px;
    height: 10px
}


#email-input {
    padding-top: 20px;
    height: 56px;
    width: 100%;
    padding-right: 40px;
    border-radius: 12px;
    background-color: white;
}


#email-input:focus,
#email-input:not(:placeholder-shown) {
    padding-top: 20px;
}

/* Remove padding when input is empty and unfocused */
#email-input:placeholder-shown {
    padding-top: 16px;
}



#email-error-message {
    border: unset;
    color: red;
    font-size: 12px;
    position: absolute;
    top: 100%;
    left: 8x;
    margin-top: 2px;
    padding: 0px;
}


.ui-dialog {
    border-radius: 16px;
}

.ui-dialog-titlebar {
    background-color: white;
    border: none;
}

.ui-dialog-title {
    color: gray;
    font-size: 12px;
    font-weight: 100;
}

.ui-dialog-titlebar button {
    border: none;
    background-color: unset;
}

/*
  .ui-dialog-titlebar button:hover {
    border: none;
    background-color: unset;
  } */

#email-success-message label {
    display: none;
}

.close-modal-button {
    margin-top: 16px;
}


.modal-button-group {
    display: flex;
    flex-flow: row-reverse;
    width: 100%;
    gap: 10px;
    padding: 16px 0 0 0;
}

#invalid-email-button {
    font-weight: bold;
}

.modal-close-button {
    background-color: transparent;
    border: 2px solid #0056b3;
    color: #0056b3;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.modal-close-button:hover {
    background-color: #0056b3;
    color: white;
}

#response-message:empty {
    display: none;
}

#close-modal {
    width: 100%;
}

@media (max-width: 767px) {

    #report-success {
        flex-direction: column;
        align-items: center;
    }

    #report-success-img {
        width: 100%;
        max-width: 200px;
    }

    #report-success-text {
        text-align: left;
    }

    #conclusion-privacy {
        padding: 16px;
        margin: unset;
    }

    .modal {
        top: 0px;
        /* overflow: auto;
        z-index: 99999; */
        width: 100%;
        /* height: 150%; */
    }

    /* .modal-content {
        width: 90% !important;
        padding: 20px;
        top: 40vh;
    } */

    .ui-dialog {
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 96% !important;

    }


    .modal-button-group {
        flex-direction: column;
    }

    #conclusion-actions {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .left-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

}

@media (min-width: 361px) and (max-width: 767px) {
    .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.cpfl-webform-modal-dialog-email-modal {
        min-width: 360px;
        max-width: 500px;
    }

}


.custom-close-button {
    position: absolute;
    right: 12px;
    font-size: 24px !important;
    color: gray;
}


/* erro ao enviar email */
#send-email-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: justify;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 767px) {
    #send-email-error {
        width: 96%;
    }
}

#send-email-error .send-email-error-modal-header {
    height: 24px;
}

#send-email-error .send-email-error-modal-body {
    margin-bottom: 40px !important;
}

#send-email-error .send-email-error-modal-body-title strong::before {
    content: url(../images/multiply.circle.svg);
    display: inline-block;
    width: 24px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

#send-email-error .send-email-error-modal-body-title {
    margin-bottom: 40px !important;
    display: flex;
    align-items: center;
}

#send-email-error .send-email-error-modal-body-text {
    font-size: 16px;
    font-style: normal;
    line-height: 25px;
}

#close-error-modal {
    display: block;
    background-image: url(../images/x.svg);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 24px;
    height: 24px;
    left: 8px;
    float: right;
}

#conclusion-container {
    padding: 35px;
}

@media (max-width: 390px) {
    #conclusion-container {
        padding: 24px;
    }
}

.email-input-wrapper {
    position: relative;
}


.floating-label {
    position: absolute;
    left: 12px;
    top: 8px;
    color: gray;
    font-size: 12px;
}

.ui-dialog:has(.pdf-error-modal-form) {
    z-index: 100100;
}

.ui-dialog:has(.pdf-error-modal-form) .denunciar-furto-de-energia-pdf-error-modal-body-title {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.ui-dialog:has(.pdf-error-modal-form) .denunciar-furto-de-energia-pdf-error-modal-body-title::before {
    content: url(../images/multiply.circle.svg);
    margin-right: 5px;
}

.ui-dialog:has(.pdf-error-modal-form) .denunciar-furto-de-energia-pdf-error-modal-body-text {
    font-size: 16px;
    font-style: normal;
    line-height: 25px;
}

.ui-dialog:has(.pdf-error-modal-form) .denunciar-furto-de-energia-pdf-error-modal-footer {
    margin-top: 40px;
}