.ads-books-form {
    max-width: 375px;
    margin: auto;
    font-family: "Inter", Sans-serif;
    background: white;
    padding: 25px;
    border-radius: 18px;
    border: 5px solid #EBEDF5;
    box-shadow: 3.866px 5.155px 17.397px 0 rgba(0, 0, 0, 0.15);
}
.ads-books-form-title {
    color: #333;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}
.books-icon-form {
    position: absolute;
    top: -20px;
    right: -22px;
}
.ads-books-form button[type="submit"] {
    margin-top: 40px;
    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}
.ads-books-form .input-icon {
    position: absolute;
    right: 10px;
    top: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.ads-books-form .form-group input,
.ads-books-form .form-group select {
    width: 100%;
    padding: 12px 40px 12px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: transparent;
}
.ads-books-form #books_country_code {
    padding: 9px 14px 9px 9px;
}
.ads-books-form .form-group {
    position: relative;
    margin-bottom: 25px;
}
.ads-books-form .phone-wrapper {
    position: relative;
    display: flex;
    gap: 10px;
}
.ads-books-form .phone-wrapper select {
    width: 80px;
}
.ads-books-form .phone-wrapper input {
    flex: 1;
}
.ads-books-form .form-group {
    --pad: .95rem;
    position: relative;
}
.ads-books-form input {
    padding: var(--pad);
    border-radius: 8px;
    background-color: var(--bg);
    border: 1px solid #D5D4DC;
    color: inherit;
    width: 300px;
    outline: none;
}
.ads-books-form label {
    position: absolute;
    left: var(--pad);
    top: var(--pad);
    background: var(--bg);
    padding-inline: .3em;
    transition: transform 200ms;
    pointer-events: none;
    transform-origin: left;
    translate: -.3em;
    background: #fff;
    color: #84849A;
}
.ads-books-form .phone_label {
    margin-inline: 6.0em;
}
.ads-books-form input::placeholder {
    opacity: 0;
}
.ads-books-form input:focus+label,
.ads-books-form input:not(:placeholder-shown)+label {
    transform: translateY(calc(-50% - var(--pad))) scale(.8);
    color: var(--accent);
}
.ads-books-form select:focus+label,
.ads-books-form select:not(:placeholder-shown):valid+label {
    transform: translateY(calc(-50% - var(--pad))) scale(.8);
    color: var(--accent);
}
.ads-books-form input:focus {
    border: 1px solid #D5D4DC;
}
.ads-books-form select:focus {
    outline: 1px solid #D5D4DC;
}
@media (max-width: 768px) {
    .ads-books-form label {
        font-size: 14px;
    }
}