/*=========================================================
DreamProperty
Post Property Wizard CSS
=========================================================*/

:root{

    --primary:#0d6efd;
    --secondary:#14532d;
    --success:#198754;
    --warning:#ffc107;
    --danger:#dc3545;
    --light:#f8fafc;
    --border:#e5e7eb;
    --text:#222;
    --muted:#777;
    --white:#ffffff;

    --radius:18px;

}

/*====================================================*/

body{

    background:#f5f7fb;
    color:var(--text);
    font-family:'Poppins',sans-serif;

}

/*====================================================*/

.post-property-page{

    padding:60px 0;

}

/*====================================================*/

.wizard-card{

    background:#fff;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    padding:45px;
    min-height:900px;

}

/*====================================================*/

.wizard-sidebar{

    position:sticky;
    top:20px;

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

/*====================================================*/

.sidebar-header{

    text-align:center;

    margin-bottom:35px;

}

.sidebar-header h2{

    font-size:28px;
    font-weight:700;
    margin-bottom:8px;

}

.sidebar-header p{

    color:#666;
    margin:0;

}

/*====================================================*/

.wizard-steps{

    list-style:none;

    padding:0;

    margin:0;

}

/*====================================================*/

.wizard-steps li{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    border-radius:15px;

    margin-bottom:15px;

    border:1px solid #eee;

    transition:.3s;

    cursor:pointer;

}

/*====================================================*/

.wizard-steps li:hover{

    background:#f5f9ff;

}

/*====================================================*/

.wizard-steps li.active{

    background:#0d6efd;

    color:#fff;

    border-color:#0d6efd;

}

/*====================================================*/

.step-number{

    width:46px;

    height:46px;

    border-radius:50%;

    background:#edf3ff;

    color:#0d6efd;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:18px;

    flex-shrink:0;

}

/*====================================================*/

.wizard-steps li.active .step-number{

    background:#fff;

    color:#0d6efd;

}

/*====================================================*/

.step-content h5{

    margin:0;

    font-size:17px;

    font-weight:600;

}

.step-content small{

    display:block;

    margin-top:3px;

    color:#777;

}

.wizard-steps li.active small{

    color:#fff;

}

/*====================================================*/

.property-score-card{

    margin-top:45px;

    border-radius:18px;

    background:linear-gradient(135deg,#14532d,#0d6efd);

    color:#fff;

    text-align:center;

    padding:30px;

}

/*====================================================*/

.property-score-card h4{

    font-size:22px;

    margin-bottom:20px;

}

/*====================================================*/

.score-circle{

    width:140px;

    height:140px;

    border-radius:50%;

    border:8px solid rgba(255,255,255,.25);

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    font-size:30px;

    font-weight:700;

}

/*====================================================*/

.score-circle span{

    font-size:42px;

    font-weight:700;

}

/*====================================================*/

.progress{

    height:12px;

    border-radius:50px;

    overflow:hidden;

    background:rgba(255,255,255,.25);

}

/*====================================================*/

.progress-bar{

    transition:.4s;

}

/*====================================================*/

#scoreMessage{

    margin-top:18px;

    font-size:15px;

}

/*====================================================*/

.step-header{

    margin-bottom:40px;

}

.step-header h2{

    font-size:34px;

    font-weight:700;

}

.step-header p{

    color:#666;

    font-size:16px;

}

/*====================================================*/

.wizard-step{

    display:none;

    animation:fadeIn .4s;

}

.active-step{

    display:block;

}

/*====================================================*/

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*====================================================*/

.row{

    margin-bottom:5px;

}

/*=========================================================
FORM ELEMENTS
=========================================================*/

label{

    display:block;

    font-size:15px;

    font-weight:600;

    color:#222;

    margin-bottom:10px;

}

.form-control,
.form-select{

    height:56px;

    border:1px solid var(--border);

    border-radius:14px;

    box-shadow:none;

    font-size:15px;

    transition:.3s;

    background:#fff;

}

textarea.form-control{

    min-height:140px;

    resize:vertical;

    padding:15px;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(13,110,253,.12);

}

/*=========================================================
PLACEHOLDER
=========================================================*/

.form-control::placeholder{

    color:#999;

}

/*=========================================================
HELP TEXT
=========================================================*/

small,
.form-text{

    color:#777;

    font-size:13px;

}

/*=========================================================
BUTTONS
=========================================================*/

.btn{

    border-radius:12px;

    font-weight:600;

    padding:13px 28px;

    transition:.3s;

}

.btn-primary{

    background:var(--primary);

    border:none;

}

.btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(13,110,253,.25);

}

.btn-success{

    background:var(--success);

    border:none;

}

.btn-success:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(25,135,84,.25);

}

.btn-warning{

    border:none;

    color:#222;

}

.btn-warning:hover{

    transform:translateY(-2px);

}

.btn-light{

    border:1px solid #ddd;

    background:#fff;

}

.btn-light:hover{

    background:#f5f5f5;

}

/*=========================================================
WIZARD FOOTER
=========================================================*/

.wizard-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:50px;

    padding-top:25px;

    border-top:1px solid #eee;

}

/*=========================================================
CARD
=========================================================*/

.card{

    border:none;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.05);

}

.card-body{

    padding:30px;

}

/*=========================================================
UPLOAD BOX
=========================================================*/

input[type=file]{

    padding:14px;

    border:2px dashed #cfd8e3;

    border-radius:16px;

    background:#fafcff;

    cursor:pointer;

}

input[type=file]:hover{

    border-color:var(--primary);

    background:#f4f8ff;

}

/*=========================================================
FEATURED IMAGE
=========================================================*/

#featuredPreview{

    margin-top:20px;

}

#featuredPreview img{

    width:100%;

    max-width:400px;

    border-radius:16px;

    border:1px solid #eee;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/*=========================================================
GALLERY
=========================================================*/

#galleryPreview{

    margin-top:20px;

}

#galleryPreview img{

    width:100%;

    height:170px;

    object-fit:cover;

    border-radius:15px;

    transition:.3s;

    border:1px solid #eee;

}

#galleryPreview img:hover{

    transform:scale(1.04);

}

/*=========================================================
GOOGLE MAP
=========================================================*/

#map{

    width:100%;

    border-radius:18px;

    border:1px solid #ddd;

    overflow:hidden;

}

/*=========================================================
SECTION TITLES
=========================================================*/

h4{

    font-size:22px;

    font-weight:700;

}

hr{

    margin:50px 0;

    opacity:.1;

}

/*=========================================================
INPUT GROUP
=========================================================*/

.input-group-text{

    border-radius:14px;

    background:#f5f7fb;

}

/*=========================================================
SELECT
=========================================================*/

select{

    cursor:pointer;

}

/*=========================================================
TEXTAREA
=========================================================*/

textarea{

    line-height:1.7;

}

/*=========================================================
ANIMATION
=========================================================*/

.form-control,
.form-select,
.card,
.btn{

    transition:all .3s ease;

}

/*=========================================================
AMENITIES
=========================================================*/

.amenity-box{

    display:flex;
    align-items:center;
    justify-content:center;

    min-height:65px;

    padding:15px;

    background:#fff;

    border:2px solid #e9ecef;

    border-radius:14px;

    cursor:pointer;

    transition:all .3s ease;

    text-align:center;

    font-weight:500;

    user-select:none;

}

.amenity-box:hover{

    border-color:var(--primary);

    background:#f8fbff;

    transform:translateY(-2px);

}

.amenity-box input{

    display:none;

}

.amenity-box input:checked + span{

    color:var(--primary);

    font-weight:700;

}

.amenity-box:has(input:checked){

    background:#eef5ff;

    border-color:var(--primary);

    box-shadow:0 8px 20px rgba(13,110,253,.12);

}

/*=========================================================
PROPERTY SCORE CARD
=========================================================*/

#finalScore{

    font-size:60px;

    font-weight:700;

}

#finalGrade{

    font-size:17px;

    font-weight:500;

    color:#666;

}

#finalProgress{

    transition:width .4s ease;

}

/*=========================================================
PROGRESS BAR
=========================================================*/

.progress{

    background:#edf2f7;

    border-radius:50px;

}

.progress-bar{

    border-radius:50px;

}

/*=========================================================
DISPLAY
=========================================================*/

.display-4{

    line-height:1;

}

/*=========================================================
LISTING BENEFITS
=========================================================*/

.card ul{

    padding-left:20px;

    margin:0;

}

.card ul li{

    margin-bottom:14px;

    color:#555;

    font-size:15px;

}

.card ul li:last-child{

    margin-bottom:0;

}

/*=========================================================
UPLOAD PREVIEW
=========================================================*/

#galleryPreview .col-md-3{

    position:relative;

}

#galleryPreview img{

    transition:.35s;

}

#galleryPreview img:hover{

    transform:scale(1.05);

    box-shadow:0 12px 25px rgba(0,0,0,.12);

}

/*=========================================================
FEATURED PREVIEW
=========================================================*/

#featuredPreview img{

    transition:.35s;

}

#featuredPreview img:hover{

    transform:scale(1.02);

}

/*=========================================================
SCORE CARD ANIMATION
=========================================================*/

.property-score-card{

    transition:.35s;

}

.property-score-card:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

/*=========================================================
CARD HOVER
=========================================================*/

.card{

    transition:.35s;

}

.card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);

}

/*=========================================================
INPUT VALIDATION
=========================================================*/

.form-control.is-valid,
.form-select.is-valid{

    border-color:#198754;

}

.form-control.is-invalid,
.form-select.is-invalid{

    border-color:#dc3545;

}

/*=========================================================
STEP TRANSITION
=========================================================*/

.wizard-step{

    animation:slideFade .35s ease;

}

@keyframes slideFade{

    from{

        opacity:0;

        transform:translateX(30px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/*=========================================================
IMAGE THUMBNAILS
=========================================================*/

.gallery-thumb{

    position:relative;

    overflow:hidden;

    border-radius:15px;

}

.gallery-thumb img{

    width:100%;

    height:180px;

    object-fit:cover;

}

.gallery-remove{

    position:absolute;

    top:8px;

    right:8px;

    width:30px;

    height:30px;

    border-radius:50%;

    background:#dc3545;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    font-size:14px;

}

/*=========================================================
LOADING
=========================================================*/

.loading{

    opacity:.6;

    pointer-events:none;

}

.spinner{

    width:24px;

    height:24px;

    border:3px solid #ddd;

    border-top:3px solid var(--primary);

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/*=========================================================
SUCCESS BADGE
=========================================================*/

.score-badge{

    display:inline-block;

    padding:6px 14px;

    border-radius:50px;

    background:#198754;

    color:#fff;

    font-size:13px;

    font-weight:600;

}

/*=========================================================
WARNING BADGE
=========================================================*/

.score-warning{

    background:#ffc107;

    color:#222;

}

/*=========================================================
DANGER BADGE
=========================================================*/

.score-danger{

    background:#dc3545;

    color:#fff;

}
/*=========================================================
RESPONSIVE - LARGE DEVICES
=========================================================*/

@media (max-width:1200px){

    .wizard-card{

        padding:35px;

    }

    .wizard-sidebar{

        padding:25px;

    }

}

/*=========================================================
TABLET
=========================================================*/

@media (max-width:991px){

    .post-property-page{

        padding:30px 0;

    }

    .wizard-sidebar{

        position:relative;

        top:auto;

        margin-bottom:30px;

    }

    .wizard-card{

        padding:30px;

        min-height:auto;

    }

    .wizard-steps{

        display:grid;

        grid-template-columns:1fr 1fr;

        gap:15px;

    }

    .wizard-steps li{

        margin-bottom:0;

    }

    .property-score-card{

        margin-top:30px;

    }

}

/*=========================================================
MOBILE
=========================================================*/

@media (max-width:767px){

    .wizard-card{

        padding:20px;

    }

    .wizard-sidebar{

        padding:20px;

    }

    .wizard-steps{

        grid-template-columns:1fr;

    }

    .step-header h2{

        font-size:26px;

    }

    .step-header p{

        font-size:14px;

    }

    .wizard-footer{

        flex-direction:column;

        gap:15px;

        align-items:stretch;

    }

    .wizard-footer .btn{

        width:100%;

    }

    .score-circle{

        width:110px;

        height:110px;

    }

    .score-circle span{

        font-size:34px;

    }

    #finalScore{

        font-size:48px;

    }

    #galleryPreview img{

        height:140px;

    }

}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media (max-width:576px){

    .sidebar-header h2{

        font-size:22px;

    }

    .step-number{

        width:38px;

        height:38px;

        font-size:16px;

    }

    .step-content h5{

        font-size:15px;

    }

    .form-control,
    .form-select{

        height:50px;

        font-size:14px;

    }

    textarea.form-control{

        min-height:120px;

    }

    .btn{

        padding:12px 20px;

        font-size:14px;

    }

    .card-body{

        padding:20px;

    }

    .property-score-card{

        padding:20px;

    }

}

/*=========================================================
UTILITIES
=========================================================*/

.rounded-xl{

    border-radius:20px;

}

.shadow-soft{

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.bg-light-blue{

    background:#f5f9ff;

}

.border-dashed{

    border:2px dashed #d8d8d8;

}

.cursor-pointer{

    cursor:pointer;

}

.text-muted-small{

    font-size:13px;

    color:#777;

}

.transition{

    transition:all .3s ease;

}

/*=========================================================
CUSTOM SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#f2f2f2;

}

::-webkit-scrollbar-thumb{

    background:#bfbfbf;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#999;

}

/*=========================================================
PRINT
=========================================================*/

@media print{

    .wizard-sidebar,
    .wizard-footer,
    .btn{

        display:none !important;

    }

    body{

        background:#fff;

    }

    .wizard-card{

        box-shadow:none;

        border:1px solid #ddd;

    }

}

/*=========================================================
FOCUS ACCESSIBILITY
=========================================================*/

button:focus,
input:focus,
select:focus,
textarea:focus{

    outline:none;

}

/*=========================================================
DISABLED
=========================================================*/

button:disabled{

    opacity:.6;

    cursor:not-allowed;

}

/*=========================================================
END OF FILE
=========================================================*/