.collection-wrapper{

margin:50px auto;
padding:40px;
background:#fff;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.cc-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.cc-field label{
display:block;
font-weight:600;
margin-bottom:8px;
}

.cc-field input,
.cc-field select,
textarea{
    width:100%;
    padding:14px;
    border:1px solid !important;
    border-radius:10px;
    background-color: #fff  !important;
}

textarea{
height:120px;
margin-top:20px;
}

.upload-box{
margin-top:20px;
padding:30px;
border:2px dashed #d0d0d0;
text-align:center;
border-radius:12px;
cursor:pointer;
}

.upload-row{
margin-top:15px;
}

.progress{
height:10px;
background:#eee;
border-radius:30px;
overflow:hidden;
margin-top:8px;
}

.progress-bar{
height:100%;
width:0%;
background:#0d6efd;
transition:.3s;
}

.progress-bar.completed{
background:#28a745;
width:100%;
}

.cc-submit{
    background:#111827;
    color:#fff;
    padding:14px 30px;
    border:none;
    border-radius:10px;
    margin-top:25px;
    cursor:pointer;
}

.payment-options{
    display:flex;
    gap:20px;
    margin:20px 0;
}

.payment-card{
    flex:1;
    border:2px solid #ddd;
    padding:20px;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}
.payment-card h4 {
    display: inline;
}
.payment-card input{
    height: 20px;
    width: 20px;
}
.payment-card:hover{
    border-color:#111827;
}

.weight-grid{
    display:flex;
    gap:15px;
    margin:20px 0;
}

.weight-grid label{
    flex:1;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    cursor:pointer;
    text-align:center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.weight-grid input{
    height: 20px;
    width: 20px;
}
.upload-row{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    margin-top:15px;
}

.preview-image{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
}

.file-info{
    flex:1;
}

.remove-file{
    background:#dc3545;
    color:#fff;
    border:none;
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
}

.completed{
    background:#28a745 !important;
}

.case-success{
   
    margin:20px auto;
    background:#fff;
    padding:40px;
    border-radius:16px;
}

.case-success h2{
    color:#28a745;
    margin-bottom:20px;
}

.success-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin:25px 0;
}

.preview-wrap{
    width:80px;
}

.preview-image{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
}

.remove-file{
    margin-left:auto;
    background:#dc3545;
    color:#fff;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
}

.progress-bar.completed{
    background:#28a745;
}

.collection-intro {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.collection-intro h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.collection-intro p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.collection-intro p:last-child {
    margin-bottom: 0;
}
.overall-progress {
    width: 100%;
    height: 12px;
    background: #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
#overallUploadWrapper{
    margin-top: 10px;
}
#overallProgressBar {
    width: 0;
    height: 100%;
    background: #28a745;
    transition: .3s;
}
.request-type {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr); */
    /* gap: 15px; */
    margin: 20px 0;
}

.request-type select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.request-type select:focus {
    outline: none;
    border-color: #000;
}
@media (max-width: 768px) {
    .collection-intro {
        padding: 20px;
    }

    .collection-intro h2 {
        font-size: 24px;
    }

    .collection-intro p {
        font-size: 15px;
    }
}
.collection-thank-you-confirmation {
    max-width: 1100px;
    margin: 40px auto;
}

.case-header {
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-id {
    margin-top: 15px;
    display: inline-block;
    padding: 10px 18px;
    background: #f3f4f6;
    border-radius: 8px;
    font-weight: 600;
}

.case-details,
.case-files {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
    margin-top: 20px;
}

.case-grid > div {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}

.case-grid strong {
    display: block;
    margin-bottom: 5px;
}

.case-grid span {
    color: #475569;
}

.case-comment {
    margin-top: 25px;
}

.case-comment p {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
}

.case-images {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 20px;
    margin-top: 20px;
}

.case-image {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.case-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: .3s;
}

.case-image:hover img {
    transform: scale(1.05);
}

@media(max-width:428px) {
    .collection-wrapper{
        padding: 20px;
    }
    .cc-grid{
        display: flex;
        flex-direction: column;
    }
    .upload-box{
            padding: 10px;
    }
}
@media(max-width:768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
    .payment-options{
        flex-direction: column;
    }
}