.acm-form-wrapper{
    max-width:900px;
    margin:40px auto;
    padding:32px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.acm-form-title{
    margin:0 0 8px;
    font-size:30px;
    font-weight:700;
}

.acm-form-description{
    margin:0 0 30px;
    color:#6b7280;
}

.acm-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}

.acm-full-width{
    grid-column:1 / -1;
}

.acm-form-group{
    margin:0;
}

.acm-form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.acm-form-group label span{
    color:#dc2626;
}

.acm-form-group input,
.acm-form-group textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d1d5db;
    font-size:15px;
    transition:.2s;
    box-sizing:border-box;
}

.acm-form-group input:focus,
.acm-form-group textarea:focus{
    border-color:#2271b1;
    outline:none;
    box-shadow:0 0 0 3px rgba(34,113,177,.15);
}

.acm-form-group textarea{
    resize:vertical;
    min-height:170px;
}

#aarambha_case_management_attachments{
    padding:6px;
    border:2px dashed #d1d5db;
    background:#fafafa;
    cursor:pointer;
}

.acm-submit-button{
    padding:14px 32px;  
    border:none;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.acm-field-error{
    margin-top:6px;
    color:#dc2626;
    font-size:13px;
}

.is-invalid{
    border-color:#dc2626 !important;
}


#acm-selected-files{
    margin-top:15px;
}

.acm-selected-file{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 14px;
    margin-bottom:8px;
    border:1px solid #e5e7eb;
    border-radius:6px;
    background:#fafafa;
}

.acm-selected-file span{
    color:#6b7280;
    font-size:13px;
}

#acm-file-preview{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:20px;
}

.acm-file-item{
    position:relative;
    width:120px;
    height:120px;
    overflow:hidden;
    border:1px solid #ddd;
}

.acm-file-image{
    width:100%;
    height:100%;
    object-fit:cover;
}

.acm-file-name{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    padding:10px;
    font-size:12px;
    text-align:center;
}

.acm-remove-file {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 18px;
    border: none;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    line-height: 0px;
}

@media(max-width:768px){

    .acm-form-grid{
        grid-template-columns:1fr;
    }

    .acm-full-width{
        grid-column:auto;
    }

    .acm-form-wrapper{
        padding:24px;
        margin:20px;
    }
}