/* =========================================
        MSAA CONSULTING
        SELL PROPERTY PAGE
========================================= */


/* =========================================
        PAGE
========================================= */

.sell-property-page{

    position:relative;

    width:100%;

    min-height:100vh;

    overflow:hidden;

    direction:rtl;

    background:
        #f7faff;

}


/* =========================================
        PAGE INTRO
========================================= */

.sell-property-intro{

    position:relative;

    width:100%;

    min-height:390px;

    padding:
        150px 0 80px;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:

        radial-gradient(
            circle at 15% 30%,
            rgba(76,141,218,.13),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(18,61,114,.07),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6faff 50%,
            #eaf3fc 100%
        );

}


/* =========================================
        ARCHITECTURAL BACKGROUND
========================================= */

.sell-intro-decoration{

    position:absolute;

    inset:0;

    z-index:0;

    pointer-events:none;

}


/* Blueprint buildings */

.sell-intro-decoration::before{

    content:"";

    position:absolute;

    left:-3%;

    bottom:-40px;

    width:55%;

    height:95%;

    background-image:
        url("../images/buildings/hero-buildings.png");

    background-repeat:no-repeat;

    background-position:
        left bottom;

    background-size:contain;

    opacity:.10;

}


/* Architectural grid */

.sell-intro-decoration::after{

    content:"";

    position:absolute;

    inset:0;

    opacity:.5;

    background-image:

        linear-gradient(
            rgba(18,61,114,.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(18,61,114,.018) 1px,
            transparent 1px
        );

    background-size:
        85px 85px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent
        );

}


/* =========================================
        INTRO CONTAINER
========================================= */

.sell-intro-container{

    position:relative;

    z-index:2;

}


/* =========================================
        INTRO CONTENT
========================================= */

.sell-intro-content{

    position:relative;

    max-width:780px;

    margin-right:auto;

    text-align:right;

}


/* =========================================
        SMALL LABEL
========================================= */

.sell-page-label{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-height:45px;

    margin-bottom:22px;

    padding:
        8px 22px;

    border:
        1px solid
        rgba(18,61,114,.13);

    border-radius:50px;

    color:
        var(--primary-color);

    background:
        rgba(255,255,255,.72);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    box-shadow:
        0 10px 30px
        rgba(18,61,114,.05);

    font-size:14px;

    font-weight:700;

}


.sell-page-label i{

    font-size:15px;

}


/* =========================================
        MAIN TITLE
========================================= */

.sell-intro-content h1{

    position:relative;

    margin:0;

    padding-bottom:25px;

    color:
        var(--dark-blue);

    font-size:
        clamp(48px, 5vw, 76px);

    font-weight:800;

    line-height:1.3;

    letter-spacing:-2px;

}


/* Blue line */

.sell-intro-content h1::after{

    content:"";

    position:absolute;

    right:0;

    bottom:0;

    width:90px;

    height:4px;

    border-radius:20px;

    background:

        linear-gradient(
            90deg,
            var(--light-blue),
            var(--primary-color)
        );

}


/* =========================================
        FORM SECTION
========================================= */

.sell-form-section{

    position:relative;

    width:100%;

    padding:
        0 0 130px;

    background:

        radial-gradient(
            circle at 100% 35%,
            rgba(76,141,218,.055),
            transparent 26%
        ),

        linear-gradient(
            180deg,
            #f7faff 0%,
            #ffffff 45%,
            #f6f9fd 100%
        );

}


/* Decorative circle */

.sell-form-section::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    left:-350px;

    top:25%;

    border-radius:50%;

    border:
        80px solid
        rgba(18,61,114,.018);

    pointer-events:none;

}


/* =========================================
        FORM CONTAINER
========================================= */

.sell-form-container{

    position:relative;

    z-index:3;

    max-width:1180px;

}


/* =========================================
        MAIN FORM GLASS PANEL
========================================= */

.sell-property-form{

    position:relative;

    margin-top:-55px;

    padding:
        55px;

    overflow:hidden;

    border:
        1px solid
        rgba(255,255,255,.9);

    border-radius:32px;

    background:
        rgba(255,255,255,.84);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);

    box-shadow:

        0 35px 90px
        rgba(10,34,64,.10),

        inset 0 1px 0
        rgba(255,255,255,.95);

}


/* Top highlight */

.sell-property-form::before{

    content:"";

    position:absolute;

    top:0;

    right:10%;

    width:80%;

    height:1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(76,141,218,.30),
            transparent
        );

}


/* =========================================
        FORM SECTION BLOCK
========================================= */

.form-section-block{

    position:relative;

    padding:
        0 0 48px;

    margin-bottom:48px;

    border-bottom:
        1px solid
        rgba(18,61,114,.08);

}


.form-section-block:last-of-type{

    margin-bottom:35px;

}


/* =========================================
        SECTION HEADING
========================================= */

.form-section-heading{

    position:relative;

    display:flex;

    align-items:center;

    margin-bottom:30px;

}


/* Number */

.form-section-number{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:15px;

    color:#ffffff;

    background:

        linear-gradient(
            135deg,
            var(--primary-color),
            var(--dark-blue)
        );

    box-shadow:
        0 10px 24px
        rgba(18,61,114,.18);

    font-size:13px;

    font-weight:800;

    letter-spacing:1px;

}


/* Decorative line */

.form-section-heading::after{

    content:"";

    flex:1;

    height:1px;

    margin-right:18px;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(18,61,114,.10)
        );

}


/* =========================================
        FORM GRID
========================================= */

.form-grid{

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap:
        25px 28px;

}


/* =========================================
        FORM GROUP
========================================= */

.form-group{

    position:relative;

    display:flex;

    flex-direction:column;

    gap:10px;

}


.form-group.full-width{

    width:100%;

    margin-top:28px;

}


/* =========================================
        LABEL
========================================= */

.form-group label{

    padding-right:3px;

    color:
        var(--dark-blue);

    font-size:14px;

    font-weight:700;

}


/* =========================================
        INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    border:
        1px solid
        rgba(18,61,114,.11);

    outline:none;

    border-radius:15px;

    color:
        var(--text-color);

    background:
        rgba(248,251,255,.82);

    font-family:'Cairo', sans-serif;

    font-size:14px;

    transition:

        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease,
        transform .3s ease;

}


/* Input */

.form-group input,
.form-group select{

    height:57px;

    padding:
        0 18px;

}


/* Select */

.form-group select{

    cursor:pointer;

}


/* Textarea */

.form-group textarea{

    min-height:160px;

    padding:
        18px;

    resize:vertical;

    line-height:1.9;

}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    border-color:
        rgba(18,61,114,.42);

    background:#ffffff;

    box-shadow:

        0 0 0 4px
        rgba(76,141,218,.08),

        0 10px 25px
        rgba(18,61,114,.05);

}


/* =========================================
        NUMBER INPUT
========================================= */

.form-group input[type="number"]{

    direction:rtl;

}


/* =========================================
        PROPERTY STATUS
========================================= */

.form-choice-grid{

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap:25px;

}


/* =========================================
        CHOICE CARD
========================================= */

.choice-card{

    position:relative;

    min-width:0;

    padding:
        25px;

    display:flex;

    align-items:center;

    gap:14px;

    border:
        1px solid
        rgba(18,61,114,.09);

    border-radius:19px;

    background:

        linear-gradient(
            135deg,
            rgba(248,251,255,.95),
            rgba(255,255,255,.90)
        );

    transition:

        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;

}


.choice-card:hover{

    transform:
        translateY(-2px);

    border-color:
        rgba(18,61,114,.16);

    box-shadow:
        0 12px 30px
        rgba(10,34,64,.05);

}


/* Legend */

.choice-card legend{

    width:100%;

    margin-bottom:18px;

    padding:0;

    color:
        var(--dark-blue);

    font-size:14px;

    font-weight:700;

}


/* =========================================
        RADIO OPTIONS
========================================= */

.radio-option{

    position:relative;

    min-width:90px;

    min-height:45px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

}


.radio-option input{

    position:absolute;

    opacity:0;

    pointer-events:none;

}


.radio-option span{

    width:100%;

    min-height:45px;

    padding:
        8px 20px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:
        1px solid
        rgba(18,61,114,.11);

    border-radius:50px;

    color:
        #53687e;

    background:#ffffff;

    font-size:13px;

    font-weight:700;

    transition:
        .3s ease;

}


.radio-option input:checked + span{

    color:#ffffff;

    border-color:
        var(--primary-color);

    background:

        linear-gradient(
            135deg,
            var(--primary-color),
            var(--dark-blue)
        );

    box-shadow:
        0 8px 20px
        rgba(18,61,114,.17);

}


/* =========================================
        FILE UPLOAD GRID
========================================= */

.upload-grid{

    display:grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap:20px;

}


/* =========================================
        UPLOAD BOX
========================================= */

.upload-box{

    position:relative;

    min-height:175px;

    padding:
        25px 18px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:15px;

    overflow:hidden;

    cursor:pointer;

    text-align:center;

    border:
        1px dashed
        rgba(18,61,114,.25);

    border-radius:20px;

    color:
        var(--primary-color);

    background:

        linear-gradient(
            145deg,
            rgba(246,250,255,.95),
            rgba(255,255,255,.95)
        );

    transition:

        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;

}


/* Soft glow */

.upload-box::before{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    border-radius:50%;

    background:
        rgba(76,141,218,.07);

    filter:
        blur(15px);

    transition:
        transform .4s ease;

}


.upload-box i,
.upload-box span{

    position:relative;

    z-index:2;

}


.upload-box i{

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:15px;

    color:
        var(--primary-color);

    background:
        rgba(18,61,114,.07);

    font-size:20px;

    transition:
        .3s ease;

}


.upload-box span{

    max-width:100%;

    color:
        var(--dark-blue);

    font-size:14px;

    font-weight:700;

    line-height:1.7;

    overflow-wrap:anywhere;

}


.upload-box:hover{

    transform:
        translateY(-4px);

    border-color:
        rgba(18,61,114,.45);

    background:#ffffff;

    box-shadow:
        0 15px 35px
        rgba(10,34,64,.07);

}


.upload-box:hover::before{

    transform:
        scale(1.3);

}


.upload-box:hover i{

    color:#ffffff;

    background:
        var(--primary-color);

    transform:
        translateY(-2px);

}


/* File selected state */

.upload-box.file-selected{

    border-style:solid;

    border-color:
        rgba(18,61,114,.28);

    background:
        rgba(239,246,253,.85);

}


.upload-box.file-selected i{

    color:#ffffff;

    background:
        var(--primary-color);

}


/* =========================================
        DECLARATION
========================================= */

.form-declaration{

    position:relative;

    margin-top:5px;

    padding:
        25px;

    border:
        1px solid
        rgba(18,61,114,.09);

    border-radius:18px;

    background:
        rgba(244,248,253,.75);

}


/* =========================================
        DECLARATION CHECK
========================================= */

.declaration-check{

    display:flex;

    align-items:flex-start;

    gap:15px;

    cursor:pointer;

}


.declaration-check input{

    position:absolute;

    opacity:0;

    pointer-events:none;

}


/* Custom checkbox */

.custom-checkbox{

    width:25px;

    height:25px;

    margin-top:4px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border:
        1px solid
        rgba(18,61,114,.22);

    border-radius:7px;

    color:#ffffff;

    background:#ffffff;

    transition:
        .3s ease;

}


.custom-checkbox i{

    opacity:0;

    transform:
        scale(.4);

    font-size:11px;

    transition:
        .25s ease;

}


.declaration-check input:checked
+
.custom-checkbox{

    border-color:
        var(--primary-color);

    background:
        var(--primary-color);

    box-shadow:
        0 7px 18px
        rgba(18,61,114,.18);

}


.declaration-check input:checked
+
.custom-checkbox i{

    opacity:1;

    transform:
        scale(1);

}


/* Declaration text */

.declaration-text{

    color:
        #4c6176;

    font-size:14px;

    line-height:2;

}


/* Error state */

.form-declaration.error{

    border-color:
        rgba(185,50,50,.35);

    background:
        rgba(185,50,50,.035);

}


/* =========================================
        SUBMIT AREA
========================================= */

.sell-form-submit{

    margin-top:35px;

    display:flex;

    justify-content:flex-start;

}


/* =========================================
        SUBMIT BUTTON
========================================= */

.sell-submit-btn{

    position:relative;

    min-width:245px;

    min-height:62px;

    padding:
        0 30px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:25px;

    overflow:hidden;

    border:0;

    border-radius:50px;

    cursor:pointer;

    color:#ffffff;

    background:

        linear-gradient(
            135deg,
            #1764a7 0%,
            #103f75 55%,
            #082d59 100%
        );

    box-shadow:
        0 15px 35px
        rgba(11,58,105,.22);

    font-family:'Cairo', sans-serif;

    font-size:15px;

    font-weight:700;

    transition:

        transform .3s ease,
        box-shadow .3s ease;

}


/* Button shine */

.sell-submit-btn::before{

    content:"";

    position:absolute;

    top:-100%;

    left:-60%;

    width:45%;

    height:300%;

    transform:
        rotate(25deg);

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.22),
            transparent
        );

    transition:
        left .7s ease;

}


.sell-submit-btn span,
.sell-submit-btn i{

    position:relative;

    z-index:2;

}


.sell-submit-btn i{

    transition:
        transform .3s ease;

}


.sell-submit-btn:hover{

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px
        rgba(11,58,105,.30);

}


.sell-submit-btn:hover::before{

    left:130%;

}


.sell-submit-btn:hover i{

    transform:
        translateX(-6px);

}


/* =========================================
        ACCESSIBILITY FOCUS
========================================= */

.sell-submit-btn:focus-visible,
.upload-box:focus-within,
.radio-option:focus-within span,
.declaration-check:focus-within
.custom-checkbox{

    outline:
        3px solid
        rgba(76,141,218,.20);

    outline-offset:3px;

}


/* =========================================
        REDUCED MOTION
========================================= */

@media
(prefers-reduced-motion:reduce){

    .upload-box,
    .upload-box i,
    .sell-submit-btn,
    .sell-submit-btn i,
    .radio-option span{

        transition:none;

    }

}