/* Simple Testimonials Styles */

/* Frontend Form */
.stwa-form {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.stwa-field {
    margin-bottom: 15px;
}

.stwa-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.stwa-field input[type="text"],
.stwa-field textarea,
.stwa-field input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.stwa-field textarea {
    height: 100px;
}

.stwa-submit-btn {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.stwa-submit-btn:hover {
    background-color: #005177;
}

.stwa-success-message {
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Carousel */
.stwa-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

.stwa-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.stwa-slide {
    flex: 0 0 100%;
    padding: 40px;
    box-sizing: border-box;
}

.stwa-slide-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left !important;
    /* REQUIREMENT: Left-justify all text */
}

.stwa-profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
	gap: 30px;
}

.stwa-image-wrapper {
    position: relative;
    margin-right: 20px;
	width: 30%;
}

.stwa-profile-pic {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0073aa;
}

/* .stwa-quote-bubble {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #0073aa;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.stwa-quote-bubble::after {
    content: '"';
    color: white;
    font-size: 24px;
    font-family: serif;
    line-height: 1;
    margin-top: 10px;
}


.stwa-quote-bubble[style*="background-image"]::after {
    display: none;
}
 */
.stwa-info {
    text-align: left !important;
	width: 70%;
}

.stwa-name {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    text-align: left !important;
}

.stwa-pet-name {
    margin: 0;
    font-style: italic;
    color: #666;
    text-align: left !important;
}

.stwa-review-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    text-align: left !important;
}

.stwa-review-text p {
    text-align: left !important;
}

/* UI Requirement: Override any centering */
.testimonial-slide p,
.testimonial-slide .name,
.testimonial-slide .pet-name {
    text-align: left !important;
}

/* Carousel Navigation */
.stwa-carousel-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

.stwa-carousel-nav .stwa-prev {
    left: 10px;
}

.stwa-carousel-nav .stwa-next {
    right: 10px;
}

.stwa-carousel-nav button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.stwa-dots {
    text-align: center;
    margin-top: 20px;
}

.stwa-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.stwa-dot.active {
    background: #0073aa;
}

/* Floating Button */
.stwa-floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0073aa;
    /* DEFAULT BACKGROUND */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    /* ROUNDED CORNERS */
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.stwa-floating-button:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

@media (max-width: 600px) {
    .stwa-profile-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .stwa-image-wrapper {
        margin-bottom: 10px;
    }
}