/* ==========================================================
   Church Capital Broker Portal
   New Application
========================================================== */

.ccbp-new-app{
    max-width:900px;
    margin:60px auto;
    padding:0 20px;
}

.ccbp-page-header{
    text-align:center;
    margin-bottom:36px;
}

.ccbp-page-badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:#EAF6FD;
    color:#0077B6;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    margin-bottom:12px;
}

.ccbp-page-header h1{
    margin:0;
    font-size:40px;
    color:#062B4F;
    font-weight:700;
}

.ccbp-page-header p{
    margin:12px 0 0;
    color:#64748B;
    font-size:16px;
}

.ccbp-card{
    background:#fff;
    border-radius:18px;
    padding:48px;
    box-shadow:0 16px 40px rgba(15,23,42,.08);
}

.ccbp-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
}

.ccbp-full-width{
    grid-column:1/-1;
}

.ccbp-form-group{
    display:flex;
    flex-direction:column;
}

.ccbp-form-group label{
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:#062B4F;
}

.required{
    color:#dc2626;
}

.ccbp-form-group input,
.ccbp-form-group select,
.ccbp-form-group textarea{
    width:100%;
    box-sizing:border-box;
    padding:14px 16px;
    border:1px solid #D7E2EC;
    border-radius:10px;
    font-size:15px;
    background:#fff;
}

.ccbp-form-group input,
.ccbp-form-group select{
    height:52px;
}

.ccbp-form-group textarea{
    min-height:160px;
    resize:vertical;
}

.ccbp-form-group input:focus,
.ccbp-form-group select:focus,
.ccbp-form-group textarea:focus{
    outline:none;
    border-color:#0077B6;
    box-shadow:0 0 0 4px rgba(0,119,182,.12);
}

/* ==========================
   FOOTER BUTTONS
========================== */

.ccbp-form-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    margin-top:40px;
}

.ccbp-form-footer .ccbp-btn,
.ccbp-form-footer .ccbp-btn-secondary{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto !important;
    min-width:170px;
    padding:14px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    margin:0 !important;
    flex:0 0 auto;
}

.ccbp-form-footer .ccbp-btn{
    margin-left:auto !important;
    background:#0077B6;
    color:#fff;
    border:none;
    cursor:pointer;
}

.ccbp-form-footer .ccbp-btn:hover{
    background:#094A8C;
}

.ccbp-form-footer .ccbp-btn-secondary{
    background:#fff;
    color:#334155;
    border:1px solid #D7E2EC;
}

.ccbp-form-footer .ccbp-btn-secondary:hover{
    background:#F8FAFC;
}

/* ==========================================================
   REVIEW PAGE
========================================================== */

.ccbp-review-section{
    margin-bottom:30px;
}

.ccbp-review-section:last-child{
    margin-bottom:0;
}

.ccbp-review-section h3{
    margin:0 0 18px;
    font-size:24px;
    font-weight:700;
    color:#062B4F;
}

.ccbp-review-table{
    width:100%;
    border-collapse:collapse;
}

.ccbp-review-table th,
.ccbp-review-table td{
    padding:14px 20px;
    border:1px solid #E5E7EB;
    vertical-align:top;
}

.ccbp-review-table th{
    width:40%;
    background:#FAFBFC;
    color:#062B4F;
    font-weight:600;
    text-align:left;
}

.ccbp-review-table td{
    color:#334155;
}

.ccbp-empty{
    display:inline-block;
    padding:4px 10px;
    border-radius:20px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    color:#64748B;
    font-size:13px;
    font-weight:500;
}

.ccbp-review-table a{
    color:#0077B6;
    font-weight:600;
    text-decoration:none;
}

.ccbp-review-table a:hover{
    text-decoration:underline;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .ccbp-new-app{
        margin:30px auto;
        padding:0 16px;
    }

    .ccbp-page-header{
        margin-bottom:28px;
    }

    .ccbp-page-header h1{
        font-size:30px;
    }

    .ccbp-page-header p{
        font-size:15px;
    }

    .ccbp-card{
        padding:24px;
        border-radius:16px;
    }

    .ccbp-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .ccbp-form-footer{
        flex-direction:column-reverse;
        gap:14px;
        margin-top:30px;
    }

    .ccbp-btn,
    .ccbp-btn-secondary{
        width:100%;
        min-width:100%;
    }

}