.ebook-form input,
.ebook-form select {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    background-color: #f2f6ff;
    font-size: 14px;
    color: #333;
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.ebook-form select {
    background-color: #f2f6ff;
    color: #444;
}

    .ebook-form input::placeholder,
    .ebook-form select:invalid {
        color: #7a7a7a;
    }

.ebook-form button {
    width: 100%;
    padding: 14px;
    background-color: #6f42c1;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

    .ebook-form button:hover {
        background-color: #5936a6;
    }

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    background: #7444fd !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Glass tooltip arrow - match background */
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    background: #7444fd;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
    content: "";
    transform: rotate(45deg);
}


.tooltip-inner {
    background: #7444fd !important; /* Purple glass */
}

.tooltip .tooltip-arrow::before {
    background: #7444fd;
    border-color: rgba(111, 66, 193, 0.25);
}



@media (max-width: 767px) {
    .ebook-form {
        padding: 20px 15px;
    }
}
