/* Fixed Testimonial Button */
/* Modal styling */
.testimonial-modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px 6px 0 0;
}

.testimonial-modal-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-modal-body {
    padding: 25px;
    background-color: #f8f9fa;
}

.testimonial-modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 15px 25px;
}

.testimonial-modal-form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.testimonial-modal-form-control {
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.testimonial-modal-form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.testimonial-modal-submit-btn {
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Star rating styling */
.testimonial-modal-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.testimonial-modal-star-rating input {
    display: none;
}

.testimonial-modal-star-rating label {
    cursor: pointer;
    font-size: 25px;
    color: #ddd;
    padding: 0 2px;
}

.testimonial-modal-star-rating label:hover,
.testimonial-modal-star-rating label:hover ~ label,
.testimonial-modal-star-rating input:checked ~ label {
    color: #ffc107;
}

/* Modal dialog centering */
.testimonial-modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .testimonial-modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}
.otp-modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px 6px 0 0;
    padding: 16px 24px;
}

.otp-modal-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
}

.otp-modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.otp-modal-body {
    padding: 30px;
    background-color: #f8f9fa;
}

.otp-modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 16px 24px;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.otp-modal-form-label {
    font-weight: 500;
    margin-bottom: 10px;
    color: #444;
}

.otp-modal-form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    height: 48px;
}

.otp-modal-form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.otp-modal-submit-btn {
    padding: 12px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
    height: 48px;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s;
    padding: 0;
}

.otp-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    outline: none;
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Extra small devices (400px and down) */
@media (max-width: 400px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.otp-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 20px;
}

.otp-email {
    font-weight: 600;
    color: #212529;
}

.otp-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.otp-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.otp-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212529;
}

.testimonial-site-review-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary-color);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 9999; /* High z-index to keep it on top */
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0 0 0 15px; /* Padding adjusted to center icon */
}

/* Hover effect */
.testimonial-site-review-btn:hover {
    width: 170px;
    border-radius: 30px;
    background-color: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.5);
}

/* Icon styling */
.testimonial-site-review-btn i {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px; /* Ensure icon has minimum width */
}

/* Hidden text (visible on hover) */
.testimonial-site-review-text {
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    margin-left: 10px; /* Space between icon and text */
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.testimonial-site-review-btn:hover .testimonial-site-review-text {
    opacity: 1;
}

/* Optional: Add a pulse animation to draw attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.testimonial-site-review-btn {
    animation: pulse 2s infinite;
}

.testimonial-site-review-btn:hover {
    animation: none;
}
@keyframes mouseScroll {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(15px);
    }
    60% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}