
.landing-demat-form-wrapper {
    width: 100%;
    margin: 15px 0 35px;
}

.landing-demat-form .home-page-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(43, 46, 140, 0.08);
    padding: 8px 12px;
    max-width: 720px;
    width: 100%;
}

.landing-demat-form .home-page-form .name-wrapper, 
.landing-demat-form .home-page-form .mobile-wrapper {
    position: relative;
    flex: 1;
    margin: 0;
}

.landing-demat-form .home-page-form .name-wrapper::before {
    background-image: url('../icons/profile-form-icon.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 16px;
    height: 16px;
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.7;
}

.landing-demat-form .home-page-form .mobile-wrapper::before {
    content: "+91";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%); 
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    z-index: 2;
}

.landing-demat-form .home-page-form input#contactname {
    padding-left: 36px !important;
}

.landing-demat-form .home-page-form input#contactmob {
    padding-left: 44px !important;
}

.landing-demat-form input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-demat-form input:focus {
    border-color: #2b2e8c !important;
    box-shadow: 0 0 0 3px rgba(43, 46, 140, 0.1) !important;
}

.landing-demat-form .home-page-form .form-tnc {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
    margin: 0 4px;
}

.landing-demat-form .home-page-form .submit-btn {
    background: #2b2e8c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    height: 42px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-demat-form .home-page-form .submit-btn:hover {
    background: #1a1c5d;
}

@media (max-width: 768px) {
    .landing-demat-form .home-page-form {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
    }
    .landing-demat-form .home-page-form .name-wrapper,
    .landing-demat-form .home-page-form .mobile-wrapper,
    .landing-demat-form .home-page-form .submit-btn {
        width: 100%;
    }
}
