/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

h1, h2 {
    color: #333;
    margin-bottom: 8px;
}

h3 {
    color: #333;
    margin-bottom: 12px;
}

h4 {
    color: #555;
    margin-bottom: 8px;
}

p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.feedback-text {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
}

.divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 15px 0;
}

/* Rating options */
.rating-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.rating-option {
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 90px;
    background-color: #f9f9f9;
}

.rating-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rating-option.selected {
    background-color: #f0f0f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.rating-text {
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

/* Service options */
.service-question {
    margin: 15px 0;
    text-align: left;
}

.service-subtitle {
    font-style: italic;
    margin-bottom: 12px;
    color: #777;
    font-size: 0.9rem;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px; /* Prevent checkbox from shrinking */
}

.service-option label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.service-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Location options */
.location-question {
    margin: 15px 0;
}

.location-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Quality options */
.quality-question {
    margin: 15px 0;
}

.quality-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.thumbs-up {
    font-size: 1.1rem;
    margin-right: 3px;
}

/* Inspector options */
.inspector-question {
    margin: 15px 0;
}

.inspector-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Review prompt */
.review-prompt {
    margin: 15px 0;
}

.review-text-container {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    text-align: left;
}

.review-text-quote {
    position: relative;
    padding-left: 15px;
}

.quote-mark {
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 1.8rem;
    color: #ccc;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    outline: none;
}

.copy-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.copy-confirmation {
    color: #4CAF50;
    font-weight: bold;
    display: none;
    font-size: 0.9rem;
}

.platform-buttons {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Feedback form */
.feedback-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.feedback-emoji-container {
    flex-shrink: 0;
}

.feedback-emoji {
    font-size: 2.5rem;
}

.feedback-title {
    flex-grow: 1;
}

.feedback-title h3 {
    font-size: 1.1rem;
}

.feedback-title p {
    font-size: 0.9rem;
}

.feedback-form {
    text-align: left;
}

.feedback-form label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: bold;
    font-size: 0.95rem;
}

.feedback-form textarea, .feedback-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feedback-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-info {
    margin: 15px 0;
    font-size: 0.95rem;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* Thank you message */
.thank-you-message {
    text-align: center;
    margin: 20px 0;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 100px;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-neutral {
    background-color: #f1f1f1;
    color: #333;
}

.btn-neutral:hover {
    background-color: #e1e1e1;
}

.btn-google {
    background-color: #4CAF50;
    color: white;
    width: 100%;
}

.btn-google:hover {
    background-color: #45a049;
}

.btn-yelp {
    background-color: #d32323;
    color: white;
    width: 100%;
}

.btn-yelp:hover {
    background-color: #c41f1f;
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
    width: 100%;
}

.btn-facebook:hover {
    background-color: #344e86;
}

.btn-copy {
    background-color: #0066cc;
    color: white;
}

.btn-copy:hover {
    background-color: #0055aa;
}

.back-button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Info displays */
.services-info, .location-info, .quality-info, .inspector-info {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 6px 10px;
    margin: 4px 0;
    text-align: left;
}

.services-info p, .location-info p, .quality-info p, .inspector-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

/* Mobile responsiveness - Enhanced */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .card {
        padding: 15px 12px;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .rating-option {
        width: 70px;
        padding: 8px;
    }
    
    .emoji {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 80px;
    }
    
    .service-option label {
        font-size: 0.9rem;
    }
    
    .feedback-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .feedback-emoji {
        font-size: 2.2rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .service-buttons, .form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-buttons button, .form-buttons button {
        width: 100%;
    }
    
    .inspector-options, .quality-options, .location-options {
        gap: 8px;
    }
    
    .inspector-options button, .quality-options button, .location-options button {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .card {
        padding: 12px 10px;
    }
    
    h1 {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 0.95rem;
    }
    
    .rating-option {
        width: 65px;
        padding: 6px;
    }
    
    .emoji {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 7px 10px;
        font-size: 0.85rem;
    }
    
    .service-option label {
        font-size: 0.85rem;
    }
    
    .review-text-container {
        padding: 12px 10px;
    }
    
    .review-text {
        font-size: 0.85rem;
    }
    
    .feedback-form textarea, .feedback-form input {
        padding: 8px;
        font-size: 0.85rem;
    }
}
