@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

.dmf-wrapper,
.dmf-wrapper *{
    box-sizing:border-box;
    font-family:'Hind Siliguri',sans-serif !important;
}

.dmf-wrapper{
    width:100%;
    max-width:570px;
    margin:24px auto;
}

.dmf-card{
    position:relative;
    overflow:hidden;
    padding:32px 34px 27px;
    background:#fff;
    border:1px solid #e2e5e8;
    border-radius:12px;
    box-shadow:0 7px 24px rgba(0,0,0,.045);
}

.dmf-card:before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
    background:#111;
}

.dmf-header{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:28px;
}

.dmf-icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:#111;
    border-radius:10px;
}

.dmf-icon svg{
    width:22px;
    height:22px;
}

.dmf-title{
    margin:0 !important;
    padding:0 !important;
    color:#151515 !important;
    font-size:22px !important;
    line-height:1.25 !important;
    font-weight:700 !important;
}

.dmf-subtitle{
    margin:3px 0 0 !important;
    padding:0 !important;
    color:#858b91 !important;
    font-size:13px !important;
    line-height:1.55 !important;
    font-weight:400 !important;
}

.dmf-field{
    margin-bottom:16px;
}

.dmf-field label{
    display:block;
    margin:0 0 7px 0 !important;
    padding:0 !important;
    color:#292d31 !important;
    font-size:14px !important;
    line-height:1.45 !important;
    font-weight:600 !important;
}

.dmf-field label span{
    color:#e53935 !important;
    font-weight:600 !important;
}

.dmf-input-wrap{
    position:relative;
    width:100%;
}

.dmf-input-wrap > svg{
    position:absolute;
    z-index:2;
    left:14px;
    top:50%;
    width:18px;
    height:18px;
    color:#a2a7ac;
    transform:translateY(-50%);
    pointer-events:none;
}

.dmf-input-wrap input,
.dmf-input-wrap textarea{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 13px 0 42px !important;
    border:1px solid #d4d9de !important;
    border-radius:7px !important;
    outline:none !important;
    background:#fff !important;
    color:#25282b !important;
    box-shadow:none !important;
    font-family:'Hind Siliguri',sans-serif !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:1.5 !important;
}

.dmf-input-wrap input{
    height:46px !important;
    min-height:46px !important;
}

.dmf-input-wrap textarea{
    height:116px !important;
    min-height:116px !important;
    padding-top:12px !important;
    padding-bottom:12px !important;
    resize:vertical !important;
}

.dmf-textarea-wrap > svg{
    top:18px;
    transform:none;
}

.dmf-input-wrap input::placeholder,
.dmf-input-wrap textarea::placeholder{
    color:#a6abb0 !important;
    opacity:1 !important;
}

.dmf-input-wrap input:focus,
.dmf-input-wrap textarea:focus{
    border-color:#999 !important;
    box-shadow:0 0 0 3px rgba(0,0,0,.045) !important;
}

.dmf-submit{
    width:100% !important;
    height:48px !important;
    min-height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    margin:6px 0 0 !important;
    padding:8px 18px !important;
    border:0 !important;
    border-radius:7px !important;
    background:#111 !important;
    color:#fff !important;
    box-shadow:none !important;
    font-family:'Hind Siliguri',sans-serif !important;
    font-size:15px !important;
    font-weight:600 !important;
    line-height:1 !important;
    cursor:pointer;
    transition:background .18s ease,transform .18s ease;
}

.dmf-submit svg{
    width:18px;
    height:18px;
}

.dmf-submit:hover{
    background:#202020 !important;
    transform:translateY(-1px);
}

.dmf-submit:active{
    transform:translateY(0);
}

.dmf-alert{
    display:flex;
    align-items:center;
    gap:8px;
    margin:-4px 0 18px;
    padding:9px 11px;
    border-radius:7px;
    font-size:13px;
}

.dmf-success{
    color:#17652d;
    background:#edf8f0;
    border:1px solid #d5eedb;
}

.dmf-error{
    color:#8a2222;
    background:#fff1f1;
    border:1px solid #f1d4d4;
}

.dmf-alert-icon{
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:currentColor;
    color:#fff;
    font-family:Arial,sans-serif !important;
    font-size:11px;
    font-weight:700;
}

.dmf-note{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin-top:15px;
    color:#969ba0;
    font-size:12px;
    line-height:1.4;
}

.dmf-note svg{
    width:14px;
    height:14px;
}

@media(max-width:600px){
    .dmf-wrapper{
        margin:12px auto;
    }

    .dmf-card{
        padding:26px 19px 23px;
        border-radius:10px;
    }

    .dmf-header{
        gap:10px;
        margin-bottom:24px;
    }

    .dmf-icon{
        flex-basis:39px;
        width:39px;
        height:39px;
        border-radius:9px;
    }

    .dmf-icon svg{
        width:20px;
        height:20px;
    }

    .dmf-title{
        font-size:20px !important;
    }

    .dmf-subtitle{
        font-size:12.5px !important;
    }
}
