:root {
    --trimos-orange: #f26522;
    --trimos-dark: #333;
    --popup-bg: #ffffff;
    --trimos-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.trimos-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: var(--trimos-font);
}

.trimos-popup-overlay.active {
    opacity: 1;
}

.trimos-popup-container {
    position: relative;
    width: 800px;
    height: 450px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trimos-popup-overlay.active .trimos-popup-container {
    transform: scale(1);
}

.trimos-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    line-height: 1;
    min-height: 34px;
    min-width: 34px;
    margin-right: 0px !important;
}

.trimos-popup-close svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2.5px;
    display: block;
}

.trimos-popup-close:hover {
    background: var(--trimos-orange);
    transform: rotate(90deg);
}

.trimos-popup-close:hover svg {
    stroke: #fff;
}

.trimos-popup-content {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.trimos-popup-image {
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}

.trimos-popup-body {
    flex: 1.1;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--popup-bg);
    z-index: 2;
}

.trimos-brand {
    display: block;
    color: var(--trimos-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    margin-top: 0;
    text-transform: uppercase;
}

.trimos-popup-header h2 {
    font-family: var(--trimos-font);
    font-size: 22px;
    color: var(--trimos-dark);
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.highlight {
    color: #0066cc;
}

.trimos-desc {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 8px !important;
}

.trimos-sub-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
    margin-bottom: 15px !important;
}

.trimos-info-grid {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 10px;
    color: #999;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-item .value {
    font-size: 13px;
    color: #333;
    font-weight: 800;
}

.trimos-btn-submit {
    display: block;
    width: 100%;
    background: var(--trimos-orange);
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(242, 101, 34, 0.3);
}

.trimos-btn-submit:hover {
    background: #e15510;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.4);
}

.form-note {
    font-size: 11px;
    color: #888;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* Mobile & Tablet Responsive */
@media (max-width: 1024px) {
    .trimos-popup-container {
        width: 92%;
        max-width: 550px;
        height: auto;
        max-height: 95vh;
        border-radius: 16px;
    }

    .trimos-popup-content {
        flex-direction: column-reverse;
        height: auto;
    }

    .trimos-popup-image {
        height: 345px;
        flex: none;
        background-position: center;
    }

    .trimos-popup-body {
        padding: 30px 25px;
        flex: none;
        text-align: center;
    }

    .trimos-brand {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .trimos-popup-header h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .trimos-desc {
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .trimos-sub-desc {
        font-size: 13px;
        margin-bottom: 20px !important;
    }

    .trimos-info-grid {
        padding: 10px 0;
        margin-bottom: 15px;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
    }

    .info-item {
        flex: 1;
        text-align: center;
    }

    .info-item:not(:last-child) {
        border-right: 1px solid #eee;
        padding-right: 10px;
    }

    .info-item:not(:first-child) {
        padding-left: 10px;
    }

    .info-item .value {
        font-size: 12px;
        white-space: nowrap;
    }

    .trimos-btn-submit {
        padding: 12px;
        font-size: 14px;
        max-width: 320px;
        margin: 0 auto;
    }

    .form-note {
        font-size: 11px;
        margin-top: 12px;
    }

    .trimos-popup-close {
        top: 15px;
        right: 15px;
        width: 34px;
        height: 34px;
        background: rgba(255, 255, 255, 0.9);
        min-width: 34px;
        min-height: 34px;
        margin-right: 0px !important;
    }

    .trimos-popup-close svg {
        width: 18px;
        height: 18px;
    }
}

/* Small Mobile optimization */
@media (max-width: 600px) {
    .trimos-popup-container {
        max-width: 100%;
    }

    .trimos-popup-image {
        height: 180px;
    }

    .trimos-popup-body {
        padding: 20px 15px;
    }

    .trimos-info-grid {
        gap: 5px;
    }

    .info-item:not(:last-child) {
        padding-right: 5px;
    }

    .info-item:not(:first-child) {
        padding-left: 5px;
    }

    .info-item .value {
        font-size: 11px;
    }
}