/*=========================================================
CLASSIFIEDAD.IN
NEWSPAPER BOOKING
Version : 2.0
Author  : Tech Pearl Solutions
=========================================================*/


/*=========================================================
GOOGLE FONT
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');


/*=========================================================
ROOT VARIABLES
=========================================================*/

:root{

    --primary:#e30613;

    --primary-dark:#b4000d;

    --secondary:#111827;

    --success:#16a34a;

    --warning:#f59e0b;

    --danger:#dc2626;

    --border:#e5e7eb;

    --light:#f8fafc;

    --white:#ffffff;

    --text:#1f2937;

    --text-light:#6b7280;

    --shadow-sm:0 2px 10px rgba(0,0,0,.05);

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --shadow-lg:0 20px 50px rgba(0,0,0,.12);

    --radius:18px;

    --transition:.30s ease;

}


/*=========================================================
RESET
=========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:#f5f7fb;

    color:var(--text);

    font-size:15px;

    line-height:1.6;

    overflow-x:hidden;

}


/*=========================================================
LINKS
=========================================================*/

a{

    text-decoration:none;

    transition:var(--transition);

}

a:hover{

    text-decoration:none;

}


/*=========================================================
IMAGES
=========================================================*/

img{

    max-width:100%;

    display:block;

}


/*=========================================================
BOOKING WRAPPER
=========================================================*/

.booking-wrapper{

    padding:130px 0 150px;

    min-height:100vh;

}


/*=========================================================
CONTAINER
=========================================================*/

.booking-wrapper .container{

    max-width:1300px;

}


/*=========================================================
SECTION SPACING
=========================================================*/

.booking-progress-screen{

    display:none;

    animation:fadeScreen .35s ease;

}

.booking-progress-screen.active{

    display:block;

}


/*=========================================================
CARD
=========================================================*/

.booking-card{

    background:#fff;

    border-radius:22px;

    padding:35px;

    border:1px solid #edf0f5;

    box-shadow:var(--shadow);

    margin-bottom:30px;

}


/*=========================================================
CARD HEADER
=========================================================*/

.booking-card-header{

    margin-bottom:30px;

}

.booking-card-header h2{

    font-size:30px;

    font-weight:800;

    color:#111827;

    margin-bottom:8px;

}

.booking-card-header p{

    color:var(--text-light);

    font-size:15px;

    margin:0;

}


/*=========================================================
BOOKING HEADER
=========================================================*/

.booking-header{

    margin-bottom:6px;

}

.booking-header-content{

    background:linear-gradient(135deg,#e30613,#9b000b);

    border-radius:22px;

    color:#fff;

    padding:24px 36px;

    position:relative;

    overflow:hidden;

}

.booking-header-content::before{

    content:"";

    position:absolute;

    right:-120px;

    top:-120px;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.booking-header-content::after{

    content:"";

    position:absolute;

    left:-100px;

    bottom:-100px;

    width:250px;

    height:250px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.booking-badge{

    display:inline-flex;

    align-items:center;

    background:rgba(255,255,255,.15);

    color:#fff;

    padding:8px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

    margin-bottom:10px;

}

.booking-header-content h1{

    font-size:26px;

    font-weight:800;

    margin-bottom:6px;

}

.booking-header-content p{

    max-width:760px;

    opacity:.95;

    font-size:14px;

    margin:0;

}


/*====================================
BOOKING PROGRESS
====================================*/

.booking-progress-section{

    margin:5px 0 5px;

}

.booking-progress{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:0;

}

.booking-progress-step{

    display:flex;

    flex-direction:column;

    align-items:center;

    min-width:120px;

    position:relative;

}

.booking-progress-circle{

    width:44px;

    height:44px;

    border-radius:50%;

    background:#fff;

    border:2px solid #d8dde5;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:16px;

    font-weight:700;

    color:#666;

    transition:.3s;

}

.booking-progress-title{

    margin-top:8px;

    font-size:14px;

    font-weight:600;

    color:#777;

}

.booking-progress-line{

    width:110px;

    height:2px;

    background:#dfe3ea;

    margin-bottom:26px;

}

.booking-progress-step.active .booking-progress-circle{

    background:#e30613;

    border-color:#e30613;

    color:#fff;

}

.booking-progress-step.active .booking-progress-title{

    color:#111;

}

.booking-progress-step.completed .booking-progress-circle{

    background:#16a34a;

    border-color:#16a34a;

    color:#fff;

}

/*=========================================================
LABELS
=========================================================*/

.booking-label{

    display:block;

    font-weight:600;

    margin-bottom:10px;

    color:#111827;

}

.booking-label .required{

    color:#dc2626;

}


/*=========================================================
INPUTS
=========================================================*/

.booking-input,

.booking-textarea,

.booking-select,

.form-control,

.form-select{

    width:100%;

    border:1px solid #d8dde5;

    border-radius:14px;

    padding:14px 18px;

    font-size:15px;

    transition:.25s;

    background:#fff;

}

.booking-textarea{

    resize:none;

}

.booking-input:focus,

.booking-textarea:focus,

.booking-select:focus,

.form-control:focus,

.form-select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(227,6,19,.08);

    outline:none;

}


/*=========================================================
BUTTONS
=========================================================*/

.booking-btn{

    border:none;

    border-radius:14px;

    height:54px;

    padding:0 30px;

    font-weight:700;

    transition:.25s;

    cursor:pointer;

}

.booking-btn-primary{

    background:var(--primary);

    color:#fff;

}

.booking-btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.booking-btn-light{

    background:#fff;

    border:1px solid var(--border);

}

.booking-btn-light:hover{

    background:#f3f4f6;

}


/*=========================================================
ANIMATION
=========================================================*/

@keyframes fadeScreen{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*=========================================================
PART 1 ENDS HERE

NEXT:
STEP 1
SEARCH
NEWSPAPER GRID
CHIPS
BOTTOM FOOTER

=========================================================*/
/*=========================================================
STEP 1
=========================================================*/

.booking-search{

    position:relative;

    margin-bottom:25px;

}

.booking-search i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#999;

    font-size:18px;

}

.booking-search input{

    width:100%;

    height:58px;

    border:1px solid #dfe3ea;

    border-radius:16px;

    padding:0 20px 0 50px;

    font-size:15px;

    background:#fff;

    transition:.30s;

}

.booking-search input:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(227,6,19,.08);

}



/*=========================================================
SELECTED AREA
=========================================================*/

.booking-selected-area{

    margin-bottom:28px;

}

.booking-selected-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:14px;

    font-size:15px;

    font-weight:700;

}

.booking-selected-title span{

    background:var(--primary);

    color:#fff;

    width:28px;

    height:28px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:13px;

}



/*=========================================================
CHIPS
=========================================================*/

.booking-chip-wrapper{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    min-height:42px;

}

.booking-chip{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#fff5f5;

    color:var(--primary);

    border:1px solid rgba(227,6,19,.15);

    border-radius:40px;

    padding:8px 16px;

    font-size:14px;

    font-weight:600;

}

.booking-chip i{

    cursor:pointer;

    font-size:13px;

    transition:.25s;

}

.booking-chip i:hover{

    transform:rotate(90deg);

}

.booking-empty{

    color:#888;

    font-size:14px;

}



/*=========================================================
NEWSPAPER GRID
=========================================================*/

.booking-paper-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}



/*=========================================================
NEWSPAPER CARD
=========================================================*/

.booking-paper{

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:#fff;

    border:1px solid #e7ebf1;

    border-radius:18px;

    padding:18px;

    cursor:pointer;

    transition:.30s;

    position:relative;

    overflow:hidden;

}

.booking-paper::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:4px;

    height:100%;

    background:transparent;

    transition:.30s;

}

.booking-paper:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    border-color:var(--primary);

}

.booking-paper:hover::before{

    background:var(--primary);

}



/*=========================================================
ICON
=========================================================*/

.booking-paper-icon{

    width:58px;

    height:58px;

    border-radius:16px;

    background:#fff5f5;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    margin-right:16px;

    flex-shrink:0;

}



/*=========================================================
CONTENT
=========================================================*/

.booking-paper-content{

    flex:1;

}

.booking-paper-content h4{

    font-size:16px;

    font-weight:700;

    margin-bottom:3px;

    color:#111827;

}

.booking-paper-content p{

    font-size:13px;

    color:#888;

    margin:0;

}



/*=========================================================
ADD BUTTON
=========================================================*/

.booking-paper-check{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#f3f4f6;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#777;

    transition:.25s;

    flex-shrink:0;

}

.booking-paper-check i{

    font-size:18px;

}



/*=========================================================
ACTIVE CARD
=========================================================*/

.booking-paper.active{

    border-color:var(--primary);

    background:#fff8f8;

}

.booking-paper.active::before{

    background:var(--primary);

}

.booking-paper.active .booking-paper-check{

    background:var(--primary);

    color:#fff;

}

.booking-paper.active .booking-paper-icon{

    background:var(--primary);

    color:#fff;

}



/*=========================================================
SUMMARY BOX
=========================================================*/

.booking-summary-box{

    margin-top:35px;

    background:#fafafa;

    border:1px solid #ececec;

    border-radius:18px;

    padding:22px;

}

.booking-summary-title{

    font-weight:700;

    margin-bottom:10px;

}

.booking-summary-content{

    color:#666;

}



/*=========================================================
BOOKING FOOTER
=========================================================*/

#bookingFooter{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    z-index:999;

    background:#fff;

    border-top:1px solid #ececec;

    box-shadow:0 -10px 30px rgba(0,0,0,.08);

    padding:16px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.booking-footer-left{

    min-width:180px;

}

.booking-footer-info small{

    display:block;

    color:#999;

    font-size:12px;

}

.booking-footer-info h5{

    margin:4px 0 0;

    font-size:17px;

    font-weight:700;

}

.booking-footer-center{

    flex:1;

    text-align:center;

    color:#555;

    font-size:14px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

    padding:0 25px;

}

.booking-footer-right{

    display:flex;

    gap:12px;

}



/*=========================================================
TABLET
=========================================================*/

@media(max-width:1200px){

.booking-paper-grid{

grid-template-columns:repeat(2,1fr);

}

}



/*=========================================================
PART 2 ENDS HERE

NEXT

STEP 2

ADVERTISEMENT TYPE

UPLOAD

FORM GRID

=========================================================*/
/*=========================================================
STEP 2
ADVERTISEMENT DETAILS
=========================================================*/

.booking-form-group{

    margin-bottom:24px;

}

.booking-grid{

    display:grid;

    gap:24px;

}

.booking-grid-2{

    grid-template-columns:repeat(2,1fr);

}


/*=========================================================
ADVERTISEMENT TYPE
=========================================================*/

.booking-type-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:10px;

}

.booking-type-card{

    position:relative;

    display:flex;

    align-items:center;

    gap:18px;

    background:#fff;

    border:2px solid #e9edf3;

    border-radius:18px;

    padding:22px;

    cursor:pointer;

    transition:.30s;

    overflow:hidden;

}

.booking-type-card input{

    display:none;

}

.booking-type-card:hover{

    border-color:var(--primary);

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.booking-type-card.active{

    border-color:var(--primary);

    background:#fff7f7;

}

.booking-type-card.active::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:5px;

    height:100%;

    background:var(--primary);

}


/*=========================================================
TYPE ICON
=========================================================*/

.booking-type-icon{

    width:62px;

    height:62px;

    border-radius:18px;

    background:#fff4f4;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    flex-shrink:0;

    transition:.30s;

}

.booking-type-card.active .booking-type-icon{

    background:var(--primary);

    color:#fff;

}


/*=========================================================
TYPE CONTENT
=========================================================*/

.booking-type-content{

    flex:1;

}

.booking-type-content h4{

    margin:0 0 6px;

    font-size:18px;

    font-weight:700;

    color:#111827;

}

.booking-type-content p{

    margin:0;

    font-size:13px;

    color:#6b7280;

    line-height:1.5;

}


/*=========================================================
FORM GRID
=========================================================*/

.booking-form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    margin-top:30px;

}

.booking-form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#1f2937;

}

.booking-form-group small{

    color:#888;

}


/*=========================================================
DATE INPUT
=========================================================*/

.booking-input[type="date"]{

    cursor:pointer;

}


/*=========================================================
UPLOAD
=========================================================*/

.booking-upload{

    margin-top:30px;

}

.booking-upload-box{

    border:2px dashed #d6dbe4;

    border-radius:20px;

    background:#fafbfc;

    padding:40px;

    text-align:center;

    transition:.30s;

    position:relative;

}

.booking-upload-box:hover{

    border-color:var(--primary);

    background:#fffafa;

}

.booking-upload-box i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:15px;

}

.booking-upload-box h5{

    margin-bottom:8px;

    font-size:18px;

    font-weight:700;

}

.booking-upload-box p{

    color:#777;

    margin-bottom:18px;

}

.booking-upload-box input[type=file]{

    width:100%;

    cursor:pointer;

}


/*=========================================================
UPLOAD NOTE
=========================================================*/

.booking-help{

    display:block;

    margin-top:10px;

    font-size:13px;

    color:#888;

}


/*=========================================================
STEP SUMMARY
=========================================================*/

.booking-summary-box{

    margin-top:35px;

    border-radius:20px;

    border:1px solid #edf0f5;

    background:#fff;

    padding:24px;

    box-shadow:0 8px 20px rgba(0,0,0,.04);

}

.booking-summary-title{

    font-size:17px;

    font-weight:700;

    margin-bottom:12px;

}

.booking-summary-content{

    font-size:14px;

    color:#555;

    line-height:1.8;

}


/*=========================================================
STEP INFO CARD
=========================================================*/

.booking-info-card{

    display:flex;

    align-items:flex-start;

    gap:15px;

    padding:18px;

    border-radius:16px;

    background:#fffdf4;

    border:1px solid #fde68a;

    margin-top:30px;

}

.booking-info-card i{

    color:#f59e0b;

    font-size:22px;

}

.booking-info-card h6{

    margin-bottom:5px;

    font-weight:700;

}

.booking-info-card p{

    margin:0;

    color:#666;

    font-size:14px;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px){

.booking-grid-2,

.booking-form-grid,

.booking-type-grid{

grid-template-columns:1fr;

}

.booking-upload-box{

padding:30px 20px;

}

}


/*=========================================================
PART 3A ENDS HERE

NEXT

PART 3B

Advertisement Editor

Live Preview

Character Counter

Word Counter

Line Counter

=========================================================*/
/*=========================================================
STEP 3
ADVERTISEMENT CONTENT
=========================================================*/

.booking-editor-layout{

    display:grid;

    grid-template-columns:1fr 420px;

    gap:30px;

    align-items:flex-start;

}


/*=========================================================
EDITOR
=========================================================*/

.booking-editor{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.booking-editor-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 24px;

    border-bottom:1px solid #edf0f5;

    background:#fafbfd;

}

.booking-editor-header h4{

    margin:0;

    font-size:18px;

    font-weight:700;

}

.booking-editor-header span{

    color:#777;

    font-size:13px;

}

.booking-textarea{

    width:100%;

    min-height:460px;

    border:none;

    resize:none;

    padding:28px;

    font-size:17px;

    line-height:1.9;

    background:#fff;

    color:#222;

}

.booking-textarea:focus{

    outline:none;

    box-shadow:none;

}


/*=========================================================
EDITOR TOOLBAR
=========================================================*/

.booking-toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 24px;

    background:#fafbfd;

    border-top:1px solid #edf0f5;

}

.booking-toolbar small{

    color:#888;

    font-size:13px;

}


/*=========================================================
COUNTERS
=========================================================*/

.booking-counter-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

    margin-top:24px;

}

.booking-counter{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:18px;

    padding:20px;

    text-align:center;

    transition:.30s;

}

.booking-counter:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 24px rgba(0,0,0,.06);

}

.booking-counter span{

    display:block;

    font-size:32px;

    font-weight:800;

    color:var(--primary);

    margin-bottom:6px;

}

.booking-counter small{

    display:block;

    color:#666;

    font-size:13px;

}


/*=========================================================
PREVIEW CARD
=========================================================*/

.booking-preview-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #edf0f5;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    position:sticky;

    top:110px;

}

.booking-preview-header{

    background:#111827;

    color:#fff;

    padding:18px 24px;

    font-size:17px;

    font-weight:700;

}


/*=========================================================
NEWSPAPER PREVIEW
=========================================================*/

.booking-preview{

    background:#fff;

    padding:30px;

    min-height:480px;

    font-family:"Times New Roman",serif;

    font-size:16px;

    line-height:1.8;

    color:#111;

    white-space:pre-wrap;

    word-break:break-word;

}

.booking-preview strong{

    font-weight:800;

}

.booking-preview:empty::before{

    content:"Your advertisement preview will appear here.";

    color:#999;

}


/*=========================================================
NEWSPAPER LOOK
=========================================================*/

.booking-preview::after{

    content:"";

    display:block;

    margin-top:25px;

    border-top:2px dashed #ddd;

}


/*=========================================================
HIDDEN MEASURE BOX
=========================================================*/

.booking-measure-box{

    position:absolute;

    visibility:hidden;

    left:-9999px;

    top:-9999px;

    width:320px;

    padding:30px;

    font-family:"Times New Roman",serif;

    font-size:16px;

    line-height:1.8;

    white-space:pre-wrap;

    word-break:break-word;

}


/*=========================================================
EDITOR NOTE
=========================================================*/

.booking-note{

    display:flex;

    align-items:flex-start;

    gap:14px;

    margin-top:24px;

    padding:18px 20px;

    border-radius:18px;

    background:#fffdf3;

    border:1px solid #fde68a;

}

.booking-note i{

    color:#f59e0b;

    font-size:20px;

    margin-top:2px;

}

.booking-note span{

    color:#555;

    line-height:1.7;

}


/*=========================================================
STATISTICS BAR
=========================================================*/

.booking-stat-bar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:24px;

    padding:20px;

    border-radius:18px;

    background:#111827;

    color:#fff;

}

.booking-stat-item{

    text-align:center;

    flex:1;

}

.booking-stat-item h4{

    font-size:28px;

    margin-bottom:5px;

    font-weight:800;

}

.booking-stat-item span{

    font-size:13px;

    color:#cbd5e1;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:1200px){

.booking-editor-layout{

grid-template-columns:1fr;

}

.booking-preview-card{

position:relative;

top:auto;

}

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

.booking-textarea{

min-height:320px;

padding:20px;

font-size:16px;

}

.booking-preview{

min-height:300px;

padding:20px;

}

.booking-counter-grid{

grid-template-columns:1fr;

}

.booking-stat-bar{

flex-direction:column;

gap:18px;

}

}

/*=========================================================
PART 3B ENDS HERE

NEXT

PART 4

STEP 4
STEP 5
LOGIN BOX
SUMMARY
REVIEW
=========================================================*/
/*=========================================================
STEP 4
CONTACT DETAILS
=========================================================*/

.booking-login-box{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:25px;

    padding:28px;

    border-radius:20px;

    background:linear-gradient(135deg,#fff7f7,#ffffff);

    border:1px solid rgba(227,6,19,.15);

    margin-bottom:35px;

}

.booking-login-box h5{

    margin-bottom:6px;

    font-size:22px;

    font-weight:700;

    color:#111827;

}

.booking-login-box p{

    margin:0;

    color:#6b7280;

    font-size:15px;

}

.booking-login-btn{

    background:var(--primary);

    color:#fff;

    border:none;

    padding:14px 30px;

    border-radius:14px;

    font-weight:700;

    transition:.30s;

}

.booking-login-btn:hover{

    background:var(--primary-dark);

    color:#fff;

    transform:translateY(-2px);

}



/*=========================================================
LOGGED USER
=========================================================*/

.booking-login-success{

    display:flex;

    align-items:center;

    gap:20px;

    padding:26px;

    border-radius:20px;

    background:#f0fdf4;

    border:1px solid #bbf7d0;

    margin-bottom:35px;

}

.booking-user-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:var(--success);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    flex-shrink:0;

}

.booking-login-success h5{

    margin-bottom:5px;

    font-weight:700;

}

.booking-login-success p{

    margin:0;

    color:#666;

}



/*=========================================================
STEP 5
=========================================================*/

.booking-review-section{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:20px;

    padding:28px;

    margin-bottom:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.04);

}

.booking-review-section h5{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:18px;

    font-weight:700;

    margin-bottom:20px;

}

.booking-review-section h5 i{

    color:var(--primary);

}



/*=========================================================
REVIEW TABLE
=========================================================*/

.booking-review-table{

    width:100%;

    border-collapse:collapse;

}

.booking-review-table th{

    width:220px;

    padding:14px 0;

    font-weight:600;

    color:#6b7280;

    border-bottom:1px solid #edf0f5;

}

.booking-review-table td{

    padding:14px 0;

    color:#111827;

    font-weight:500;

    border-bottom:1px solid #edf0f5;

}



/*=========================================================
ADVERTISEMENT PREVIEW
=========================================================*/

.booking-final-preview{

    background:#fafafa;

    border:1px solid #ececec;

    border-radius:16px;

    padding:30px;

    min-height:180px;

    font-family:"Times New Roman",serif;

    font-size:16px;

    line-height:1.8;

    white-space:pre-wrap;

}



/*=========================================================
SUMMARY CARD
=========================================================*/

.booking-summary-card{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:20px;

    padding:24px;

    box-shadow:0 8px 20px rgba(0,0,0,.04);

}

.booking-summary-card h5{

    font-size:18px;

    margin-bottom:20px;

    font-weight:700;

}

.booking-summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #edf0f5;

}

.booking-summary-item:last-child{

    border-bottom:none;

}

.booking-summary-item strong{

    color:#111827;

}

.booking-summary-item span{

    color:#555;

}



/*=========================================================
TERMS
=========================================================*/

.booking-terms{

    background:#fffef4;

    border:1px solid #fde68a;

    border-radius:18px;

    padding:20px;

}

.booking-checkbox{

    display:flex;

    gap:14px;

    cursor:pointer;

}

.booking-checkbox input{

    margin-top:4px;

    width:18px;

    height:18px;

}

.booking-checkbox span{

    color:#555;

    line-height:1.7;

}



/*=========================================================
REVIEW NEWSPAPERS
=========================================================*/

#reviewNewspapers{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.review-paper{

    background:#fff5f5;

    border:1px solid rgba(227,6,19,.15);

    color:var(--primary);

    border-radius:40px;

    padding:10px 16px;

    font-size:14px;

    font-weight:600;

}



/*=========================================================
MOBILE
=========================================================*/

@media(max-width:992px){

.booking-login-box{

flex-direction:column;

align-items:flex-start;

}

.booking-login-btn{

width:100%;

}

.booking-review-table th,

.booking-review-table td{

display:block;

width:100%;

padding:8px 0;

border:none;

}

.booking-review-table tr{

display:block;

padding:15px 0;

border-bottom:1px solid #edf0f5;

}

.booking-summary-card{

margin-top:20px;

}

}

/*=========================================================
PART 4 ENDS HERE

NEXT

PART 5

MOBILE RESPONSIVE
SELECT2
UTILITIES
ANIMATIONS
=========================================================*/
/*=========================================================
PART 5
RESPONSIVE
SELECT2
UTILITIES
ANIMATIONS
=========================================================*/


/*=========================================================
SELECT2
=========================================================*/

.select2-container{

    width:100%!important;

}

.select2-container--default .select2-selection--single{

    height:56px;

    border:1px solid #d8dde5;

    border-radius:14px;

    display:flex;

    align-items:center;

    transition:.30s;

}

.select2-container--default .select2-selection--single:hover{

    border-color:var(--primary);

}

.select2-container--default.select2-container--focus
.select2-selection--single{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(227,6,19,.08);

}

.select2-selection__rendered{

    line-height:54px!important;

    padding-left:18px!important;

}

.select2-selection__arrow{

    height:54px!important;

}

.select2-dropdown{

    border-radius:14px;

    border:1px solid #e5e7eb;

    box-shadow:0 12px 25px rgba(0,0,0,.08);

}


/*=========================================================
SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f3f4f6;

}

::-webkit-scrollbar-thumb{

    background:#c4c8cf;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);

}


/*=========================================================
BADGES
=========================================================*/

.booking-badge-success{

    background:#ecfdf5;

    color:#15803d;

}

.booking-badge-warning{

    background:#fff7ed;

    color:#b45309;

}

.booking-badge-danger{

    background:#fef2f2;

    color:#b91c1c;

}


/*=========================================================
HELPERS
=========================================================*/

.booking-hidden{

    display:none!important;

}

.booking-text-center{

    text-align:center;

}

.booking-mt-20{

    margin-top:20px;

}

.booking-mt-30{

    margin-top:30px;

}

.booking-mb-20{

    margin-bottom:20px;

}

.booking-w-100{

    width:100%;

}


/*=========================================================
LOADER
=========================================================*/

.booking-loading{

    pointer-events:none;

    opacity:.65;

}

.booking-spinner{

    width:22px;

    height:22px;

    border-radius:50%;

    border:3px solid rgba(255,255,255,.35);

    border-top-color:#fff;

    animation:bookingSpin .8s linear infinite;

}

@keyframes bookingSpin{

    to{

        transform:rotate(360deg);

    }

}


/*=========================================================
FADE
=========================================================*/

.booking-fade{

    animation:bookingFade .35s ease;

}

@keyframes bookingFade{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*=========================================================
DESKTOP
=========================================================*/

@media(min-width:1400px){

.booking-wrapper .container{

max-width:1380px;

}

.booking-paper-grid{

grid-template-columns:repeat(4,1fr);

}

}


/*=========================================================
LAPTOP
=========================================================*/

@media(max-width:1200px){

.booking-header-content{

padding:30px 34px;

}

.booking-header-content h1{

font-size:28px;

}

.booking-paper-grid{

grid-template-columns:repeat(2,1fr);

}

#bookingFooter{

padding:15px 20px;

}

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px){

.booking-wrapper{

padding-bottom:120px;

}

.booking-card{

padding:25px;

}

.booking-header-content{

padding:35px;

}

.booking-header-content h1{

font-size:30px;

}

.booking-progress{

overflow-x:auto;

padding-bottom:10px;

}

.booking-progress-step{

min-width:170px;

}

.booking-footer-center{

display:none;

}

.booking-footer-right{

width:100%;

justify-content:flex-end;

}

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

.booking-wrapper{

padding-top:20px;

padding-bottom:220px;

}

.booking-card{

padding:20px;

border-radius:18px;

}

.booking-card-header{

margin-bottom:20px;

}

.booking-card-header h2{

font-size:20px;

}

.booking-header-content{

padding:28px;

border-radius:18px;

}

.booking-header-content h1{

font-size:23px;

}

.booking-header-content p{

font-size:13px;

}

.booking-progress{

display:none;

}

.booking-paper-grid{

grid-template-columns:1fr;

gap:14px;

}

.booking-paper{

padding:16px;

}

.booking-paper-icon{

width:50px;

height:50px;

font-size:20px;

margin-right:12px;

}

.booking-paper-content h4{

font-size:15px;

}

.booking-paper-content p{

font-size:12px;

}

.booking-chip{

font-size:13px;

padding:8px 14px;

}

.booking-counter-grid{

grid-template-columns:repeat(3,1fr);

gap:10px;

}

.booking-counter{

padding:14px;

}

.booking-counter span{

font-size:24px;

}

.booking-footer-left{

display:none;

}

.booking-footer-center{

display:none;

}

#bookingFooter{

padding:12px 15px;

}

.booking-footer-right{

width:100%;

display:flex;

gap:10px;

}

.booking-btn{

height:48px;

padding:0 18px;

font-size:14px;

flex:1;

}

}


/*=========================================================
SMALL MOBILE
=========================================================*/

@media(max-width:480px){

.booking-header-content{

padding:22px;

}

.booking-header-content h1{

font-size:22px;

}

.booking-card{

padding:16px;

}

.booking-counter-grid{

grid-template-columns:1fr;

}

.booking-paper{

padding:14px;

}

.booking-paper-icon{

display:none;

}

.booking-chip-wrapper{

gap:8px;

}

.booking-chip{

font-size:12px;

}

.booking-btn{

height:46px;

font-size:13px;

}

}


/*=========================================================
PRINT
=========================================================*/

@media print{

#bookingFooter{

display:none;

}

.booking-header{

display:none;

}

body{

background:#fff;

}

.booking-card{

box-shadow:none;

border:none;

}

}
/*=========================================================
MOBILE BOOKING PROGRESS
=========================================================*/

@media (max-width:768px){

    .booking-progress{

        display:flex;
        justify-content:space-between;
        align-items:flex-start;
        overflow-x:auto;
        overflow-y:hidden;
        white-space:nowrap;
        padding-bottom:10px;
        gap:0;

        scrollbar-width:none;

    }

    .booking-progress::-webkit-scrollbar{

        display:none;

    }

    .booking-progress-step{

        min-width:75px;
        flex:0 0 auto;

    }

    .booking-progress-circle{

        width:38px;
        height:38px;
        font-size:14px;

    }

    .booking-progress-title{

        font-size:11px;
        margin-top:8px;

    }

    .booking-progress-line{

        min-width:45px;
        margin-top:18px;

    }
	 .booking-footer{

        bottom:75px !important;

    }

    .booking-wrapper{

        padding-bottom:170px;

    }
	.booking-preview-paper{

        padding:18px;

    }

    .booking-preview{

        width:100%;

        min-height:320px;

    }

    .booking-measure-box{

        width:100%;

        max-width:320px;

    }

}
.booking-footer{

    position:fixed !important;

    left:0 !important;

    right:0 !important;

    bottom:0;

    z-index:99999 !important;

}
/*=========================================================
TIMES OF INDIA PREVIEW
=========================================================*/

.booking-preview-card{

    background:#fff;

    border:1px solid #e6e6e6;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.booking-preview-header{

    text-align:center;

    padding:18px;

    border-bottom:1px solid #ececec;

    background:#fafafa;

}

.toi-logo{

    font-family:Georgia,serif;

    font-size:22px;

    font-weight:700;

    letter-spacing:1px;

    color:#111;

}

.toi-subtitle{

    margin-top:5px;

    font-size:13px;

    color:#888;

}

.booking-preview-paper{

    display:flex;

    justify-content:center;

    padding:30px;

    background:#f5f5f5;

}
.booking-preview{

    width:245px;

    min-height:420px;

    background:#fff;

    padding:18px;

    border:1px solid #d8d8d8;

    font-family:Arial,Helvetica,sans-serif;

    font-size:13px;

    line-height:21px;

    color:#111;

    white-space:pre-wrap;

    word-break:break-word;

    overflow-wrap:break-word;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}
.booking-preview-footer{

    display:flex;

    justify-content:space-around;

    padding:18px;

    border-top:1px solid #ececec;

    background:#fafafa;

    text-align:center;

}

.booking-preview-footer strong{

    display:block;

    font-size:22px;

    color:#E31E24;

    margin-bottom:4px;

}
.booking-measure-box{

    position:absolute;

    left:-9999px;

    top:-9999px;

    visibility:hidden;

    width:245px;

    padding:18px;

    font-family:Arial,Helvetica,sans-serif;

    font-size:13px;

    line-height:21px;

    white-space:pre-wrap;

    word-break:break-word;

    overflow-wrap:break-word;

    box-sizing:border-box;

}
/*=========================================================
LINE ESTIMATION
=========================================================*/

.line-estimation{

    text-align:center;

    width:100%;

}

.line-title{

    font-size:15px;

    font-weight:700;

    color:#222;

    margin-bottom:15px;

}

.line-visual{

    display:flex;

    justify-content:center;

    gap:4px;

    margin-bottom:15px;

}

.line-visual span{

    width:24px;

    height:5px;

    background:#E31E24;

    border-radius:50px;

}

.line-count{

    margin-bottom:10px;

}

.line-count span{

    display:block;

    font-size:42px;

    font-weight:700;

    color:#E31E24;

    line-height:1;

}

.line-count small{

    font-size:15px;

    color:#666;

    font-weight:600;

}

.line-note{

    font-size:12px;

    color:#888;

    line-height:20px;

    max-width:280px;

    margin:auto;

}
/*=========================================================
LIVE VALIDATION
=========================================================*/

.booking-input.is-valid,
.booking-textarea.is-valid{

    border:2px solid #28a745;

    background:#f7fff9;

}

.booking-input.is-invalid,
.booking-textarea.is-invalid{

    border:2px solid #dc3545;

    background:#fff8f8;

}
.booking-error{

    display:none;

    margin-top:6px;

    font-size:13px;

    color:#dc3545;

    font-weight:500;

}

.booking-error.show{

    display:block;

}
/*=========================================================
LOGIN MODAL
=========================================================*/

#loginModal .modal-dialog{

    max-width:460px;

}

.booking-login-modal{

    border:none;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 25px 80px rgba(0,0,0,.18);

}

.booking-login-modal .modal-header{

    padding:12px 16px 0;

    border:none;

}

.booking-login-modal .btn-close{

    margin-left:auto;

    font-size:13px;

}

.booking-login-modal .modal-body{

    padding:0 28px 28px;

}

/*=========================================================
LOGO
=========================================================*/

.login-logo{

    text-align:center;

    margin-bottom:12px;

}

.login-logo img{

    max-width:170px;

    height:auto;

}

/*=========================================================
TITLE
=========================================================*/

.login-title{

    text-align:center;

    font-size:34px;

    font-weight:700;

    color:#1f2937;

    margin-bottom:6px;

}

.login-subtitle{

    text-align:center;

    color:#6b7280;

    font-size:14px;

    line-height:22px;

    margin-bottom:18px;

}

/*=========================================================
GOOGLE BUTTON
=========================================================*/

.google-login-btn{

    width:100%;

    height:48px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    font-size:15px;

    font-weight:600;

    transition:.25s;

}

.google-login-btn:hover{

    background:#fafafa;

    border-color:#d1d5db;

}

.google-login-btn img{

    width:20px;

}

/*=========================================================
DIVIDER
=========================================================*/

.login-divider{

    position:relative;

    text-align:center;

    margin:18px 0;

}

.login-divider:before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    width:100%;

    height:1px;

    background:#ececec;

}

.login-divider span{

    position:relative;

    background:#fff;

    padding:0 16px;

    color:#999;

    font-size:12px;

    font-weight:500;

}

/*=========================================================
LOGIN TABS
=========================================================*/

.login-tabs{

    display:flex;

    background:#f3f4f6;

    padding:4px;

    border-radius:12px;

    margin-bottom:18px;

}

.login-tab{

    flex:1;

    height:42px;

    border:none;

    background:transparent;

    border-radius:10px;

    font-size:15px;

    font-weight:600;

    transition:.25s;

}

.login-tab.active{

    background:#fff;

    color:#e31e24;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

/*=========================================================
FORM
=========================================================*/

.booking-form-group{

    margin-bottom:14px;

}

.booking-form-group label{

    font-size:14px;

    font-weight:600;

    margin-bottom:6px;

    display:block;

    color:#374151;

}

.booking-input{

    height:48px;

    border-radius:12px;

    font-size:15px;

    padding:0 16px;

}

/*=========================================================
BUTTONS
=========================================================*/

#passwordLoginBtn,
#sendOtpBtn,
#verifyOtpBtn{

    height:48px;

    border-radius:12px;

    font-size:15px;

    font-weight:600;

}

.booking-btn.loading{

    pointer-events:none;

    opacity:.7;

}

/*=========================================================
MESSAGE
=========================================================*/

#loginMessage{

    min-height:20px;

    margin-top:14px;

    text-align:center;

    font-size:13px;

}

/*=========================================================
OTP TIMER
=========================================================*/

.otp-timer{

    margin-top:12px;

    text-align:center;

    font-size:13px;

    color:#777;

}

/*=========================================================
MOBILE
=========================================================*/

@media(max-width:576px){

    #loginModal .modal-dialog{

        margin:14px;

    }

    .booking-login-modal{

        border-radius:18px;

    }

    .booking-login-modal .modal-body{

        padding:0 20px 22px;

    }

    .login-logo img{

        max-width:150px;

    }

    .login-title{

        font-size:28px;

    }

    .login-subtitle{

        margin-bottom:16px;

    }

}
/*=========================================================
STEP 5
REVIEW & SUBMIT
=========================================================*/

.booking-review-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

    margin-top:30px;

}

/*------------------------------------
Card Sizes
------------------------------------*/

.booking-review-card:nth-child(3){

    grid-column:1 / -1;

}

.booking-review-card:nth-child(4){

    grid-column:1 / -1;

}

.booking-review-card{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:22px;

    padding:24px;

    box-shadow:0 10px 35px rgba(15,23,42,.05);

    transition:.3s;

}

.booking-review-card:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(15,23,42,.08);

}

.review-card-title{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:22px;

    font-size:18px;

    font-weight:700;

    color:#222;

}

.review-card-title i{

    width:42px;

    height:42px;

    border-radius:12px;

    background:linear-gradient(135deg,#FE0305,#ff6565);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}

.review-chip-container{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.review-chip-container .booking-chip{

    margin:0;

}

.review-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px 40px;

}
.review-remarks{

    grid-column:1/-1;

}

.review-row{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    padding-bottom:14px;

    border-bottom:1px dashed #ececec;

}

.review-row:last-child{

    border-bottom:none;

    padding-bottom:0;

}

.review-row span{

    color:#777;

    font-size:14px;

}

.review-row strong{

    text-align:right;

    color:#222;

    font-size:15px;

    font-weight:600;

}

.review-remarks{

    flex-direction:column;

    gap:10px;

}

.review-remarks div{

    background:#fafafa;

    border-radius:14px;

    padding:14px;

    color:#444;

    line-height:26px;

    min-height:70px;

}

.review-preview-box{

    background:#fcfcfc;

    border:1px solid #ececec;

    border-radius:18px;

    padding:35px;

    min-height:280px;

    font-family:"Times New Roman",serif;

    font-size:17px;

    line-height:1.9;

    overflow:auto;

}

.booking-confirm-box{

    margin-top:35px;

    background:#fcfcfc;

    border:1px solid #ececec;

    border-radius:20px;

    padding:24px;

}

.booking-checkbox{

    display:flex;

    align-items:flex-start;

    gap:14px;

    margin-bottom:18px;

    cursor:pointer;

}

.booking-checkbox:last-child{

    margin-bottom:0;

}

.booking-checkbox input{

    width:20px;

    height:20px;

    margin-top:3px;

    accent-color:#FE0305;

}

.booking-checkbox span{

    line-height:28px;

    color:#555;

    font-size:15px;

}

.booking-note{

    display:flex;

    align-items:flex-start;

    gap:14px;

    background:#fff9ef;

    border:1px solid #ffe3a5;

    border-radius:18px;

    padding:20px;

}

.booking-note i{

    color:#f39c12;

    font-size:22px;

    margin-top:2px;

}

.booking-note span{

    line-height:28px;

    color:#555;

}

@media(max-width:991px){

    .booking-review-grid{

        grid-template-columns:1fr;

    }

    .booking-review-card{

        grid-column:auto !important;

    }

    .review-list{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .booking-review-card{

        padding:18px;

        border-radius:18px;

    }

    .review-card-title{

        font-size:16px;

    }

    .review-card-title i{

        width:36px;

        height:36px;

        font-size:15px;

    }

    .review-row{

        flex-direction:column;

        gap:6px;

    }

    .review-row strong{

        text-align:left;

    }

    .review-preview-box{

        padding:18px;

        min-height:180px;

    }

    .booking-confirm-box{

        padding:18px;

    }

}
/*=========================================================
BOOKING SUCCESS
=========================================================*/

.booking-success-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:140px 15px 40px;

}

.booking-success-card{

    width:100%;

    max-width:520px;

    background:#fff;

    border-radius:20px;

    padding:26px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    border:1px solid #edf0f5;

}

.success-icon{

    width:60px;

    height:60px;

    margin:0 auto 15px;

    border-radius:50%;

    background:linear-gradient(135deg,#16a34a,#22c55e);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:34px;

}

.booking-success-card h1{

    font-size:24px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

}

.success-text{

    font-size:15px;

    color:#666;

    font-size:14px;

    line-height:24px;
    margin:0 auto 18px;

    max-width:480px;

}

.booking-number-box{

    background:#f8f9fc;

    border:2px dashed #d9dde8;

    border-radius:18px;

    padding:18px;

    margin:25px 0;

}

.booking-number-box small{

    display:block;

    color:#888;

    font-size:13px;

    margin-bottom:6px;

}

.booking-number-box h2{

    margin:0;

    font-size:28px;

    font-weight:700;

    color:#FE0305;

    letter-spacing:1px;

}

.success-info{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin:25px 0;

}

.success-info div{

    background:#fafafa;

    border-radius:14px;

    padding:15px 12px;

    font-size:13px;

    line-height:22px;

    color:#555;

}

.success-info i{

    display:block;

    font-size:22px;

    color:#FE0305;

    margin-bottom:8px;

}

.success-buttons{

    display:flex;

    gap:12px;

    justify-content:center;

    margin-top:25px;

}

.success-buttons .booking-btn{

    flex:1;

    min-width:0;

    height:48px;

    border-radius:12px;

    font-size:15px;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:768px){

    .booking-success-card{

        padding:28px 22px;

        max-width:520px;

    }

    .booking-success-card h1{

        font-size:24px;

    }

    .success-info{

        grid-template-columns:1fr;

    }

    .success-buttons{

        flex-direction:column;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:576px){

    .booking-success-page{

        padding:20px 12px;

    }

    .booking-success-card{

        padding:22px 18px;

        border-radius:18px;

    }

    .success-icon{

        width:65px;

        height:65px;

        font-size:34px;

        margin-bottom:15px;

    }

    .booking-success-card h1{

        font-size:21px;

    }

    .success-text{

        font-size:14px;

        line-height:24px;

    }

    .booking-number-box{

        padding:15px;

    }

    .booking-number-box h2{

        font-size:22px;

        word-break:break-word;

    }

}
/*=========================================================
END OF FILE

NEWSPAPER BOOKING CSS
VERSION 2.0

=========================================================*/

/*=========================================================
The site's global marketing footer (the "Ready to Publish..."
CTA band + the multi-column footer with links) is included on
every page via footer.php. It was never meant to appear below
these single-page booking wizards - the sticky action bar at
the bottom already serves that purpose - so we hide it whenever
it follows one of the booking wrappers.
=========================================================*/

.booking-wrapper ~ .footer-cta,
.booking-wrapper ~ .main-footer,
.mat-wrapper ~ .footer-cta,
.mat-wrapper ~ .main-footer{

    display:none;

}

/*=========================================================
MOBILE ACCESSIBILITY, RESPONSIVE STEPPER & VALIDATION
=========================================================*/

body.is-booking-page .mobile-footer {
    display: none !important;
}

.booking-hidden,
.mat-hidden {
    display: none !important;
}

/* Base Form Text Size to prevent iOS Safari auto-zoom */
.booking-input,
.booking-textarea,
.form-control,
.form-select,
.select2-container .select2-selection--single,
.mat-header-trigger {
    font-size: 16px !important;
    border-radius: 12px;
}

/* Touch Targets: ensure comfortable 44-48px targets */
.booking-btn,
.mat-header-trigger,
.booking-type-card,
.mat-package-card,
.booking-paper {
    min-height: 48px;
}

/* Instruction Hints */
.form-instruction-hint {
    font-size: 12.5px;
    color: #4b5563;
    margin-top: 3px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-instruction-hint i {
    color: #e30613;
}

/* Step Error Summary Alert */
.step-error-summary {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9f1239;
    font-size: 13.5px;
    font-weight: 600;
}
.step-error-summary i {
    font-size: 18px;
    color: #e11d48;
    flex-shrink: 0;
}

/* Field-Level Error Messages */
.field-error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 8px;
    padding: 6px 10px;
}
.field-error-message i {
    font-size: 14px;
    color: #dc2626;
    flex-shrink: 0;
}

/* Highlight Invalid Fields with more than color alone */
.has-error,
.is-invalid,
.has-error .form-select,
.has-error .booking-input,
.has-error .booking-textarea,
.has-error .mat-header-trigger,
.select2-container--has-error .select2-selection {
    border-color: #dc2626 !important;
    background-color: #fffbfa !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}

/* Review Edit Buttons */
.btn-review-edit {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.btn-review-edit:hover,
.btn-review-edit:focus {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Mobile Collapsible Preview Bar */
.mobile-preview-toggle-bar {
    margin-bottom: 14px;
}
.mobile-preview-toggle-btn {
    width: 100%;
    padding: 11px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: 0.2s;
}
.mobile-preview-toggle-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.mobile-preview-toggle-btn .toggle-arrow {
    transition: transform 0.25s ease;
}
.mobile-preview-toggle-btn.is-open .toggle-arrow {
    transform: rotate(180deg);
}

/* Bottom Action Footer with Safe-Area Inset Support */
#bookingFooter,
#matBookingFooter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999 !important;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 16px max(12px, env(safe-area-inset-bottom)) 16px !important;
}

#bookingFooter .booking-footer-right,
#matBookingFooter .booking-footer-right {
    display: flex;
    gap: 10px;
    width: 100%;
}
#bookingFooter .booking-btn,
#matBookingFooter .booking-btn {
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*=========================================================
RESPONSIVE BREAKPOINTS FOR SMALL MOBILE (down to 320px)
=========================================================*/

@media (max-width: 991px) {
    body.is-booking-page {
        padding-top: 0 !important;
        padding-bottom: 85px !important;
    }
    .booking-wrapper {
        padding: 78px 0 95px !important;
    }
    .mat-preview-column:not(.mobile-show),
    .booking-preview-card-column:not(.mobile-show) {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.is-booking-page {
        padding-top: 0 !important;
        padding-bottom: 85px !important;
    }
    .booking-wrapper {
        padding: 66px 0 95px !important;
        min-height: auto !important;
    }
    .booking-wrapper .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .booking-card {
        padding: 16px 13px !important;
        border-radius: 16px !important;
        margin-bottom: 14px !important;
    }
    .booking-card-header {
        margin-bottom: 14px !important;
    }
    .booking-card-header h2 {
        font-size: 19px !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }
    .booking-card-header p {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
    .booking-header {
        margin-bottom: 4px !important;
    }
    .booking-header-content {
        padding: 12px 16px !important;
        border-radius: 14px !important;
    }
    .booking-header-content h1 {
        font-size: 17px !important;
        margin-bottom: 0 !important;
    }
    .booking-badge {
        font-size: 10.5px !important;
        padding: 3px 9px !important;
        margin-bottom: 4px !important;
    }

    /* COMPACT PROGRESS BAR */
    .booking-progress {
        display: none !important;
    }
    .booking-mobile-progress {
        display: block !important;
        margin: 6px 0 10px;
    }
    .mobile-progress-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    .mobile-step-badge {
        background: #fee2e2;
        color: #b91c1c;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        letter-spacing: 0.2px;
    }
    .mobile-step-title {
        font-size: 12.5px;
        font-weight: 700;
        color: #1f2937;
    }
    .mobile-progress-track {
        width: 100%;
        height: 4px;
        background: #e5e7eb;
        border-radius: 10px;
        overflow: hidden;
    }
    .mobile-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #e30613, #f43f5e);
        border-radius: 10px;
        transition: width 0.35s ease;
    }

    /* Footers */
    #bookingFooter,
    #matBookingFooter {
        padding: 8px 12px max(10px, env(safe-area-inset-bottom)) 12px !important;
    }
    #bookingFooter .booking-footer-left,
    #matBookingFooter .booking-footer-left,
    #bookingFooter .booking-footer-center,
    #matBookingFooter .booking-footer-center {
        display: none !important;
    }
    #bookingFooter .booking-footer-right,
    #matBookingFooter .booking-footer-right {
        display: flex !important;
        width: 100% !important;
        gap: 8px !important;
    }
    #bookingFooter .booking-btn,
    #matBookingFooter .booking-btn {
        min-height: 46px !important;
        font-size: 14px !important;
        padding: 0 14px !important;
        flex: 1 !important;
    }
    #bookingBack,
    #matBack {
        flex: 0 0 35% !important;
    }
    #bookingNext,
    #matNext {
        flex: 1 1 65% !important;
    }
}

@media (max-width: 380px) {
    .booking-wrapper {
        padding: 62px 0 90px !important;
    }
    .booking-card {
        padding: 14px 10px !important;
    }
    .booking-card-header h2 {
        font-size: 17.5px !important;
    }
    .mobile-step-title {
        font-size: 11.5px;
    }
}
