/*
Theme Name: Hello Child Elementor
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
*/

.upload-container {
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='%234A5967' stroke-width='4' stroke-dasharray='10%2C10' stroke-dashoffset='15' stroke-linecap='butt'/%3E%3C/svg%3E") !important;
    padding: 25px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    margin-top: 40px;
}

.upload-container:hover {
    border-color: #bbb;
    background-color: #fafafa;
}

.upload-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.upload-text {
    font-size: 18px;
    font-family: "Montserrat", Sans-serif;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.button-group button {
    padding: 20px 50px 20px 50px;
}

.upload-subtext {
    font-size: 16px;
    font-family: "Montserrat", Sans-serif;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.upload-btn {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    border: none;
    border-radius: 25px;
    padding: 9px 46px !important;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    font-family: "Montserrat", Sans-serif;
    width: 191px;
}

.upload-btn:hover {
    background: linear-gradient(135deg, #ffcc00, #ff9933);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.3);
}

.upload-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .upload-btn {
        width: 100%;
        max-width: 200px;
    }
}

.wrap-processing {
    margin: 0 auto;
}

.photo-comparison .after-photo>span,
.photo-comparison .before-photo>span {
    display: inline-block;
    padding: 6px 13px;
    background: #fff6e6;
    border: 1px solid #0000002e;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 25px;
    position: absolute;
    top: 0px;
}

.tab_2,
.tab_1 {
    display: flex;
    flex-direction: row-reverse;
    padding: 50px 100px !important;
}

.photo-comparison img {
    margin-top: 80px;
}

.photo-comparison {
    position: relative;
}

.after-top_label span {
    transform: rotate(90deg);
    margin-left: -13px;
}

.after-top_label {
    border-left: 1px solid #000;
    margin-right: -25px;
}

.after-top_label span::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #000;
}

.after-top_label span {
    margin-left: -26px;
    margin-right: 16px;
}

.after-right_label {
    position: relative;
}

.after-top_label {
    position: absolute;
    right: -50px;
    /* top: 48%; */
    height: 96%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.after-left_label {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.after-left_label::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #000;
}

.after-right_label span {
    background: #000;
    color: #fff;
    font-weight: bold;
    font-family: "Montserrat", Sans-serif;
    padding: 1px 7px;
    font-size: 9px;
    margin-bottom: -8px;
    z-index: 999999999999;
}

.tab_2 {
    flex-direction: row-reverse;
}

.wrap-processing>div {
    display: flex;
    flex-direction: row;
    gap: 90px;
    width: 100%;
    margin: 0 auto;
    padding: 0 110px;
    justify-content: center;
}

.processing-image-preview {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 100px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    background: #fff;
    padding: 25px;
    box-shadow: 0px 0px 3px #8888882e !important;
    border-radius: 52px !important;
    max-height: 500px;
}



.close-popup {
    background: none !important;
    font-size: 23px !important;
}

.close-popup {
    color: #000 !important;
}

.upload-button {
    background: #000 !important;
}

.progress-bar-step::after {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.2922 9.30711C10.6827 8.91658 10.6827 8.28342 10.2922 7.89289L5.9593 3.56C5.65002 3.25072 5.14858 3.25072 4.8393 3.56C4.53002 3.86928 4.53002 4.37072 4.8393 4.68L8.7593 8.6L4.8393 12.52C4.53002 12.8293 4.53002 13.3307 4.8393 13.64C5.14858 13.9493 5.65002 13.9493 5.9593 13.64L10.2922 9.30711Z' fill='%23A5ACB3'%3E%3C/path%3E%3C/svg%3E");
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 38px;
    background-repeat: no-repeat;
}

.progress-bar-step:last-child::after {
    display: none;
}

.progress-bar-step.progress-bar-step-complete>div {
    font-weight: bold;
}

.hidden {
    display: none;
}

.wrap-processing {
    width: 1290px;
    margin: 0 auto;
}

.container {
    max-width: 1290px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .upload-container {
        max-width: 100%;
    }
}

.product-table td,
.product-table th {
    border: none !important;
}

.product-table {
    margin: 0px !important;
}

.document-selector-container {
    max-width: 600px;
    margin: 0 auto;
}

.document-type-selector {
    position: relative;
    margin-bottom: 20px;
}

.selector-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    min-height: 48px;
}

.select-trigger:hover {
    border-color: #c0c0c0;
}

.select-trigger.active {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.select-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.select-arrow.rotated {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.2s ease;
}

.select-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.search-container {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.search-input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
    background-size: 16px;
}

.search-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.options-container {
    max-height: 300px;
    overflow-y: auto;
}

.section-title {
    padding: 12px 16px 8px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    background: #f8f8f8;
    border-bottom: 1px solid #f0f0f0;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.1s ease;
    border-bottom: 1px solid #f8f8f8;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-item.hidden {
    display: none;
}

.option-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 4px;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.option-text {
    font-size: 16px;
    color: #333;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}


/* Scrollbar styling */

.options-container::-webkit-scrollbar {
    width: 6px;
}

.options-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.options-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.options-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


/* Responsive */

@media (max-width: 768px) {
    .document-selector-container {
        padding: 0 10px;
    }

    .select-trigger {
        font-size: 14px;
        padding: 10px 14px;
    }
}

#searchInput {
    padding-left: 35px;
}

.left-section {
    padding-right: 20px;
}

.right-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    font-size: 18px;
    color: #666;
    margin-bottom: 12px;
}

.sub-description {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
}

.requirement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.requirement-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-rejected {
    background-color: #fee2e2;
    color: #dc2626;
}

.status-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}



.error_tab_mes {}

.status-icon::before {
    content: '×';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.photo-container {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.photo-image {
    width: 100%;
    height: auto;
    display: block;
}

.upload-button-error {
    background-color: #1a1a1a !important;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    color: #fff !important;
}

.upload-button-error:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.upload-button-error:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .left-section {
        padding-right: 0;
        order: 2;
    }

    .right-section {
        order: 1;
    }

    .main-title {
        font-size: 36px;
    }

    .requirement-text {
        font-size: 20px;
    }

    .photo-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .tab_2 {
        padding: 20px 15px;
    }

    .main-title {
        font-size: 28px;
    }

    .description {
        font-size: 16px;
    }

    .requirement-text {
        font-size: 18px;
    }

    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .status-badge {
        align-self: flex-end;
    }
}

/* Animation */
.tab_2 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requirement-item {
    opacity: 0;
    animation: fadeInLeft 0.4s ease forwards;
}

.requirement-item:nth-child(1) {
    animation-delay: 0.1s;
}

.requirement-item:nth-child(2) {
    animation-delay: 0.2s;
}

.requirement-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.photo-container {
    opacity: 0;
    animation: fadeInRight 0.6s ease 0.3s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.error_tab_mes>.content-wrapper {
    display: flex;
    gap: 50px;
    padding: 80px 0px;
    justify-content: center;
    align-items: center;
}

.content-wrapper .upload-button-error {
    width: 100%;
    display: block;
    max-width: 100%;
}

#takeNewPhotoBtn {
    margin-top: 49px;
    width: 338px;
    border-radius: 30px;
    border-color: #000;
}

.photo-container img {
    max-height: 400px;
    object-fit: cover;
}

.tab_3 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tab_3 {
    padding: 20px 120px !important;
}

.tab_3 .container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0px;

}

.checks-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 27px;
}

.tab_3 .left-panel {
    background: white;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
}

.tab_3 .header {
    margin-bottom: 32px;
}

.tab_3 .title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.tab_3 .subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
}

.tab_3 .checks-list {
    margin-bottom: 40px;
}

.tab_3 .check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.tab_3 .check-item:hover {
    background-color: #f9fafb;
    margin: 0 -16px;
    padding: 20px 16px;
    border-radius: 8px;
}

.tab_3 .check-item:last-child {
    border-bottom: none;
}

.tab_3 .check-label {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.tab_3 .check-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.tab_3 .check-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tab_3 .buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab_3 .btn {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.tab_3 .btn-primary {
    background: #1a1a1a;
    color: white !important;
}

.tab_3 .btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tab_3 .btn-secondary {
    background: white;
    color: #1a1a1a !important;
    border: 2px solid #e5e7eb;
}

.tab_3 .btn-secondary:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab_3 .right-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
}

.tab_3 .photo-container {
    position: relative;
    max-width: 400px;
    padding: 10px;
}

.tab_3 .photo-frame {
    position: relative;
    /* border: 2px dashed #d1d5db; */
    /* border-radius: 12px; */

    /* background: #f9fafb; */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tab_3 .photo-img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.tab_3 .photo-img:hover {
    transform: scale(1.02);
}

.tab_3 .photo-dimensions {
    position: absolute;
    background: #374151;
    color: white;
    padding: 5px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: fit-content;
    height: fit-content;
}

.tab_3 .dimension-top {
    top: -10px;
    right: 20px;
}

.tab_3 .dimension-right {
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.tab_3 .dimension-bottom-left {
    bottom: 20px;
    left: 20px;
    background: #10b981;
}

.tab_3 .watermark {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .tab_3 .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tab_3 .left-panel {
        padding: 24px;
    }

    .tab_3 .title {
        font-size: 28px;
    }

    .tab_3 .photo-img {
        width: 300px;
    }

    .tab_3 .photo-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .tab_3 {
        margin: 20px 0px !important;
        padding: 10px;
    }

    .tab_3 .left-panel {
        padding: 20px;
    }

    .tab_3 .title {
        font-size: 24px;
    }

    .tab_3 .check-label {
        font-size: 16px;
    }

    .tab_3 .photo-img {
        width: 250px;
    }

    .tab_3 .photo-container {
        max-width: 250px;
    }
}

/* Animation on load */
.tab_3 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab_3 .check-item {
    opacity: 0;
    animation: fadeInLeft 0.4s ease forwards;
}

.tab_3 .check-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tab_3 .check-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tab_3 .check-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tab_3 .photo-container {
    opacity: 0;
    animation: fadeInRight 0.6s ease 0.3s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.processing-container {
    width: 50%;
}



.processing-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    line-height: 1.2;
}

.processing-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.processing-step {
    padding: 0px !important;
}

.step-check {
    display: none !important;
}

.processing-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: 55px;
    background: #e5e7eb;
    z-index: 0;
}

.processing-step.completed:not(:last-child)::after {
    background: #10b981;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-right: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.processing-step.completed .step-number {
    background: #10b981;
    color: white;
}

.processing-step.active .step-number {
    background: #1a1a1a;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.processing-step:not(.completed):not(.active) .step-title {
    color: #9ca3af;
}

.step-status {
    width: 24px;
    height: 24px;
    position: relative;
}

.step-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
}

.processing-step.active .step-spinner {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.step-check {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.processing-step.completed .step-check {
    opacity: 1;
    transform: scale(1);
}

/* Image Container */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 100%;
}

.photo-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.crop-indicators {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.crop-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #10b981;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.crop-corner.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.crop-corner.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.crop-corner.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.crop-corner.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.processing-step.active#step-cropping~.image-container .crop-corner {
    opacity: 1;
    animation: cropPulse 2s ease-in-out infinite;
}

@keyframes cropPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Background removing effect */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(16, 185, 129, 0.3) 49%, rgba(16, 185, 129, 0.3) 51%, transparent 52%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.processing-step.active#step-background~.image-container .bg-overlay {
    opacity: 1;
    animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* Analyzing effect */
.analyze-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.processing-step.active#step-compliance~.image-container .analyze-grid {
    opacity: 1;
    animation: analyzeFlicker 1.5s ease-in-out infinite;
}

@keyframes analyzeFlicker {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .processing-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .processing-header h2 {
        font-size: 36px;
        text-align: center;
    }

    .step-title {
        font-size: 20px;
    }

    .photo-preview {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .processing-header h2 {
        font-size: 28px;
    }

    .step-title {
        font-size: 18px;
    }
}

/* Replace existing .right-panel styles */
.right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100% !important;
    max-width: 100% !important;
}

/* Replace existing .photo-container styles */
.photo-container {
    position: relative;
    display: inline-block;
}

/* Replace existing .photo-frame styles */
.photo-frame {
    position: relative;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid #e5e7eb;
}

/* Replace existing .photo-img styles */
.photo-img {
    display: block;
    border-radius: 8px;
    width: 300px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-img:hover {
    transform: scale(1.02);
}

/* Replace existing .photo-dimensions styles */
.photo-dimensions {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.dimension-top {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.dimension-right {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: #10b981;
}

.dimension-bottom-left {
    bottom: -40px;
    left: 15px;
}

/* Add measurement lines using pseudo-elements */
.photo-container::before,
.photo-container::after {
    content: '';
    position: absolute;
    background: #6b7280;
    z-index: 5;
}

/* Top horizontal line */
.photo-container::before {
    top: -25px;
    left: -40px;
    right: -40px;
    height: 1px;
}

/* Left vertical line */
.photo-container::after {
    left: -25px;
    top: -40px;
    bottom: -40px;
    width: 1px;
}

/* Right vertical line */
.photo-frame::before {
    content: '';
    position: absolute;
    right: -45px;
    top: -25px;
    bottom: -25px;
    width: 1px;
    background: #10b981;
    z-index: 5;
}

/* Bottom horizontal line for dimension */
.photo-frame::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 80px;
    height: 1px;
    background: #6b7280;
    z-index: 5;
}

/* Replace existing .watermark styles */
.watermark {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Replace existing .btn and .btn-secondary styles */
.btn {
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #000;
    background: white;
    color: #000 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 338px;
    text-align: center;
    margin-top: 49px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    background: white;
    color: #000 !important;
    border: 2px solid #000;
}

.btn:hover,
.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active,
.btn-secondary:active {
    transform: translateY(0);
}

/* Add crop marks if needed */
.crop-marks {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    pointer-events: none;
}

.crop-mark {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #6b7280;
}

.crop-mark.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.crop-mark.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.crop-mark.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.crop-mark.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Add dotted guidelines */
.guidelines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.guideline-horizontal {
    position: absolute;
    left: -40px;
    right: -40px;
    height: 1px;
    border-top: 2px dashed #10b981;
    opacity: 0.6;
}

.guideline-horizontal.top {
    top: 25%;
}

.guideline-horizontal.middle {
    top: 50%;
}

.guideline-horizontal.bottom {
    top: 75%;
}

.guideline-vertical {
    position: absolute;
    top: -25px;
    bottom: -25px;
    width: 1px;
    border-left: 2px dashed #10b981;
    opacity: 0.6;
}

.guideline-vertical.center {
    left: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .photo-container {
        margin: 60px 40px;
    }

    .photo-img {
        width: 250px;
    }

    .btn,
    .btn-secondary {
        width: 280px;
        margin-top: 30px;
    }

    .dimension-right {
        right: -50px;
    }
}

@media (max-width: 480px) {
    .photo-container {
        margin: 40px 20px;
    }

    .photo-img {
        width: 200px;
    }

    .btn,
    .btn-secondary {
        width: 240px;
        padding: 14px 30px;
    }
}

.bottom_label img {
    margin-top: 10px !important;
    width: 77%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin: 0 auto;
}

.content_format h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0px 15px;
}

.content_format h3,
.content_format h4,
.content_format h5,
.content_format h6 {
    font-size: 16px;
    margin: 30px 0px 15px;
    font-weight: 600;
}


.content_format p {
    margin: 25px 0px;
    color: #000;
    font-weight: 600;
}

.content_format li {
    position: relative;
    margin: 16px 0px 16px 88px;
}

.content_format p,
.content_format a,
.content_format li {
    color: rgb(75, 90, 104);
    font-size: 16px;
}

.htmega-menu-container .sub-menu li a {
    border-bottom: none !important;
}

.item_loading .item {
    border-bottom: 1px solid hsla(206, 8%, 84%, 1);
    position: relative;
}

.item_loading .item.active::after {
    content: "";
    display: block;
    height: 2px;
    background: hsla(44, 97%, 59%, 1);
    position: absolute;
    left: 0;
    bottom: -1px;
    animation: k-iEsJFk 5000ms linear;
}

.item_loading .item.active span {
    background: hsla(44, 98%, 60%, 1);
}

.item_tab div[role="tablist"] {
    position: relative;
}

.item_tab div[role="tablist"] button[aria-selected="true"]::after {
    content: "";
    display: block;
    height: 2px;
    background: hsla(44, 97%, 59%, 1);
    position: absolute;
    left: 0;
    bottom: -1px;
    animation: k-iEsJFk 5000ms linear;
}

@keyframes k-iEsJFk {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* ul.sub-menu{
    min-width: fit-content !important;
} */
.pp-trust p {
    margin: 0px !important;
}

@media (max-width: 768px) {

    .post_content p,
    .post_content li,
    .post_content div,
    .post_content blockquote {
        line-height: 26px;
        margin: 0px;
        padding: 0px;
        font-size: 13px;
    }

    .post_content li ,  .post_content ul {
        padding-left: 0px;
    }
    .post_content{
        padding: 0px !important;
    }
}