﻿:root {
    --color-primary: #2E1E6F;
    --color-accent: #F1481F;
    --color-white: #FFFFFF;
}

.domain-renewal-header {
    text-align: right;
    margin-right: 20px;
}

.domain-renewal-content {
    flex: 1;
    min-width: 0;
    margin-top: 150px;
    margin-left: 60px;
}

.domains-container {
    background: var(--color-white);
    border-radius: 30px;
    padding: 0 62px 48px 62px;
    box-shadow: 0 4px 30px 0 rgba(101, 101, 101, 0.25);
    margin-bottom: 20px;
}

    .domains-container::before {
        content: "";
        display: block;
        background-color: var(--color-accent);
        height: 15px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }

.domain-input-label {
    font-family: PloniMLv2AAA-U-Bold;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.8;
    display: block;
    text-align: right;
    margin-top: 33px;
    margin-bottom: 33px;
}

.domain-input-wrapper {
    padding: 13.5px;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1px solid rgba(96, 116, 139, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.domain-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 15px 15px 37px;
    height: 44px;
    font-family: PloniMLv2AAA-Regular;
    color: #112C55;
    font-weight: 400;
    font-size: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    background: transparent;
    text-align: left;
    direction: ltr;
    order: 2;
    min-width: 0;
}

    .domain-input::placeholder {
        color: #0F2522;
        opacity: 0.5;
        text-align: left;
        direction: ltr;
        font-weight: 400;
        font-family: 'Open Sans Hebrew';
        transition: opacity 0.3s ease;
    }

.new-domain-btn {
    background: #160861;
    color: var(--color-white);
    border: 2px solid #FFFFFF;
    border-radius: 19px;
    margin-left: 13px;
    font-family: PloniMLv2AAA-U-Bold;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 0 45px 0 rgba(46, 30, 111, 0.15);
    transition: all 0.3s ease;
    order: 1;
    padding: 26px 75px;
    min-width: max-content;
}

    .new-domain-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

.discount-container {
    background: var(--color-white);
    border-radius: 19px;
    padding: 16px 62px;
    box-shadow: 0 4px 30px 0 rgba(101, 101, 101, 0.25);
}

.discount-text {
    font-family: PloniMLv2AAA-U-Bold;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 2.4;
    color: var(--color-primary);
    text-align: center;
}

.discount-text-main {
    color: var(--color-primary);
}

.discount-text-accent {
    color: var(--color-accent);
}

@media (max-width: 1100px) {
    .aside--domains {
        margin-bottom: 40px;
    }

    .domain-renewal-content {
        margin-top: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 40px;
        padding-right: 40px;
    }

    .domains-container,
    .discount-container {
        width: 100%;
        box-sizing: border-box;
        padding-left: 40px;
        padding-right: 40px;
    }


    .domain-input {
        padding-left: 15px;
    }
}

@media (max-width: 680px) {
    .domain-input {
        padding: 12px;
        font-size: 16px;
    }

    .domain-input-label {
        text-align: center;
    }

    .domains-container::before {
        margin-left: 30px;
        margin-right: 30px;
    }

    .new-domain-btn {
        padding: 16px 24px;
        font-size: 18px;
        border-radius: 15px;
    }

    .domains-container {
        padding: 0 25px 30px 25px;
    }

    .discount-container {
        padding: 15px 25px;
    }

    .discount-text {
        font-size: 15px;
        line-height: 1.6;
        font-weight: 800;
    }
}

@media (max-width: 480px) {
    .domain-renewal-header {
        margin-bottom: 20px;
    }

    .aside-image {
        display: none !important;
    }

    .mobile-domain-title {
        display: inline-flex !important;
        align-items: center !important;
        gap: 25px !important;
        font-size: 34px !important;
        line-height: 1.47 !important;
        transform: translateX(-25px) !important;
    }

        .mobile-domain-title::before {
            content: "" !important;
            display: block !important;
            width: 14px !important;
            height: 33px !important;
            background: var(--color-accent) !important;
            border-radius: 100px !important;
            transform: translate(25px, -5px) !important;
        }

    .aside .aside-subttile {
        font-size: 18px;
        line-height: 1.1;
        margin-right: 31px;
        margin-top: -10px;
    }

    .domain-renewal-content {
        margin-top: 25px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .domains-container {
        padding: 0 12px 43px 12px;
        min-width: 260px;
    }

    .discount-container {
        padding: 24px 50px;
        min-width: 260px;
    }

    .new-domain-btn {
        padding: 29px 15px;
        white-space: nowrap;
        min-width: 100px;
    }

    .domain-input-wrapper {
        padding: 8px 5px;
    }
}

@media (min-width: 481px) {
    .aside .aside-title::before {
        display: none !important;
    }
}
