:root {
    --mtel-red: #ed1a3b;
    --dark-text: #333333;
    --grey-500: #9491a4;
    --grey-400: #b5b8c8;
    --grey-300: #e0e4ee;
    --grey-200: #f3f4f8;
    --white: #ffffff;
    --captcha-blue: #09224b;
    --disclaimer-grey: #7c7e88;
    
    --font-montserrat: 'Montserrat', sans-serif;
    --font-titillium: 'Titillium Web', sans-serif;
    
    --radius-sm: 12px;
    --radius-lg: 32px;
    --radius-xl: 52px;
}

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

body {
    font-family: var(--font-montserrat);
    background-color: var(--grey-200);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: opacity 0.2s ease;
}

body.page-transitioning {
    opacity: 0.7;
}

.container {
    width: 100%;
    max-width: 1760px;
    background: var(--grey-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.content-wrapper {
    display: flex;
    min-height: 900px;
}

.form-section {
    flex: 1 1 58%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(243,244,248,0.9) 100%);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-height: 900px;
}

.logo-container {
    margin-bottom: 24px;
}

.logo {
    width: 76px;
    height: 53px;
    object-fit: contain;
}

.title {
    font-family: var(--font-titillium);
    font-weight: 900;
    font-size: 32px;
    color: var(--mtel-red);
    text-transform: uppercase;
    line-height: 74px;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.search-label {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 10px;
}

.tabs-container {
    width: 500px;
    margin-bottom: 40px;
}

.tabs {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: var(--grey-200);
    border-radius: var(--radius-xl);
    padding: 4px;
    height: 48px;
}

.tab {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    height: 40px;
    line-height: 40px;
    padding: 0 8px;
    border: none;
    background: transparent;
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 14px;
    color: rgba(51, 51, 51, 0.5);
    cursor: pointer;
    border-radius: var(--radius-lg);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--mtel-red);
    transition: width 0.3s ease;
}

.tab:hover::after {
    width: 60%;
}

.tab.active {
    background-color: var(--dark-text);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.05);
}

.tab:hover:not(.active) {
    color: var(--dark-text);
}

.tab-divider {
    width: 1px;
    height: 28px;
    background-color: var(--grey-300);
}

.search-form {
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.form-group label {
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1.4;
}

.label-text {
    color: var(--grey-500);
}

.required {
    color: var(--mtel-red);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 16px;
    color: var(--dark-text);
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder {
    color: var(--grey-400);
}

.form-group input:focus {
    border-color: var(--mtel-red);
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 25px 0 30px;
}

.captcha-box {
    width: 325px;
    height: 64px;
    background: var(--white);
    border: 0.5px solid var(--captcha-blue);
    border-radius: var(--radius-sm);
    display: flex;
    overflow: hidden;
}

.captcha-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 16px;
    gap: 12px;
}

.checkbox-wrapper {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(9, 34, 75, 0.22);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-wrapper input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.captcha-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-montserrat);
    font-size: 10.7px;
    color: var(--captcha-blue);
}

.captcha-line1 {
    font-weight: 500;
}

.captcha-line2 {
    font-weight: 700;
}

.captcha-right {
    width: 64px;
    height: 64px;
    background-color: var(--captcha-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.submit-btn {
    width: 100%;
    height: 56px;
    background-color: var(--mtel-red);
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #d4162f;
}

.disclaimer {
    width: 500px;
    margin-top: 25px;
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 12px;
    color: var(--disclaimer-grey);
    line-height: 1.5;
}

.results-section {
    flex: 1 1 42%;
    min-width: 0;
    background: rgba(243, 244, 248, 0.6);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 900px;
    min-height: 900px;
    max-height: 900px;
}

.results-header {
    text-align: center;
    margin-bottom: 20px;
}

.results-count {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 16px;
    color: var(--grey-500);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    overflow-y: auto;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0px 30px 30px -20px rgba(0, 0, 0, 0.1);
}

.result-card.is-hidden {
    display: none;
}

.result-title {
    font-family: var(--font-titillium);
    font-weight: 700;
    font-size: 18px;
    color: #2b3e4f;
    line-height: 1.2;
    margin-bottom: 16px;
}

.result-divider {
    height: 1px;
    background-color: var(--grey-300);
    margin-bottom: 16px;
}

.result-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.result-label {
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 14px;
    color: var(--grey-500);
}

.result-value {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 16px;
    color: #3b3a3e;
    text-align: right;
}

.phone-link {
    color: inherit;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.result-row-divider {
    height: 1px;
    background-color: var(--grey-300);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
}

.pagination-info {
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 10px;
    color: var(--grey-400);
}

.pagination-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--grey-400);
    cursor: pointer;
    font-size: 14px;
}

.pagination-btn:hover {
    color: var(--dark-text);
}

.pagination-btn:disabled {
    cursor: default;
    opacity: 0.4;
}

.pagination-range {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 10px;
    color: var(--grey-400);
}

.image-section {
    flex: 1 1 42%;
    min-width: 0;
    overflow: hidden;
    height: 900px;
    min-height: 900px;
    max-height: 900px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .form-section {
        flex: none;
        width: 100%;
        border-radius: var(--radius-lg);
        padding: 40px 20px;
    }
    
    .image-section {
        display: none;
    }

    .results-section {
        flex: none;
        width: 100%;
        border-radius: var(--radius-lg);
        margin-top: 20px;
        max-height: none;
    }
    
    .hero-image {
        border-radius: var(--radius-lg);
    }
    
    .tabs-container,
    .search-form,
    .disclaimer {
        width: 100%;
        max-width: 500px;
    }
    
    .title {
        font-size: 24px;
        line-height: 1.3;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 20px;
    }
    
    .tabs {
        flex-direction: column;
        height: auto;
        padding: 8px;
        gap: 4px;
    }
    
    .tab-divider {
        display: none;
    }
    
    .tab {
        width: 100%;
    }
    
    .captcha-box {
        width: 100%;
        max-width: 325px;
    }

    .image-section {
        display: none;
    }
}
