/* Hospital Review System CSS */
.hrs-review-system {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    background-color: #f8fafc;
    color: #333;
}

.hrs-review-system * {
    box-sizing: border-box;
}

/* Variables */
:root {
    --hrs-primary: #2a6e8f;
    --hrs-primary-light: #e1f0f8;
    --hrs-secondary: #34a853;
    --hrs-secondary-light: #e6f4ea;
    --hrs-warning: #fbbc04;
    --hrs-danger: #ea4335;
    --hrs-text-dark: #333;
    --hrs-text-light: #666;
    --hrs-bg-light: #f8fafc;
    --hrs-white: #ffffff;
    --hrs-border-radius: 12px;
    --hrs-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --hrs-transition: all 0.3s ease;
}

/* Header Section */
.hrs-header-section {
    background: linear-gradient(135deg, #46a5ad 0%, #0070c8 100%100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: var(--hrs-border-radius) var(--hrs-border-radius) 0 0;
}

.hrs-hospital-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.hrs-logo-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.hrs-hospital-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.hrs-header-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
	    color: white;
}

.hrs-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Content Section */
.hrs-content-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--hrs-white);
    border-radius: 0 0 var(--hrs-border-radius) var(--hrs-border-radius);
    box-shadow: var(--hrs-shadow);
}

/* Step Indicator */
.hrs-step-indicator {
    display: flex;
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
}

.hrs-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.hrs-step-number {
    width: 40px;
    height: 40px;
    background-color: var(--hrs-primary-light);
    color: var(--hrs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--hrs-transition);
}

.hrs-step-active .hrs-step-number {
    background-color: #0070c8;
    color: white;
}

.hrs-step-line {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--hrs-primary-light);
    z-index: -1;
}

.hrs-step:last-child .hrs-step-line {
    display: none;
}

.hrs-step-text {
    font-size: 0.9rem;
    color: var(--hrs-text-light);
    transition: var(--hrs-transition);
}

.hrs-step-active .hrs-step-text {
    color: var(--hrs-primary);
    font-weight: 500;
}

/* Rating Section */
.hrs-rating-section, .hrs-feedback-section, .hrs-google-review-section {
    display: none;
    width: 100%;
    max-width: 600px;
    text-align: center;
    animation: hrs-fadeIn 0.5s ease;
}

.hrs-active-section {
    display: block;
}

@keyframes hrs-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hrs-rating-question {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--hrs-text-dark);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* Stars */
.hrs-stars-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hrs-star {
    font-size: 3.5rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--hrs-transition);
    line-height: 1;
}

.hrs-star:hover {
    transform: scale(1.1);
}

.hrs-star.selected {
    color: var(--hrs-warning);
}

.hrs-star-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--hrs-text-light);
}

.hrs-rating-description {
    font-size: 1rem;
    color: var(--hrs-text-light);
    margin-top: 10px;
    min-height: 24px;
    margin-bottom: 30px;
}

/* Buttons */
.hrs-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--hrs-transition);
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.hrs-btn-primary {
    background-color: var(--hrs-primary);
    color: white;
}

.hrs-btn-primary:hover {
    background-color: #1a4e6f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 110, 143, 0.3);
    color: white;
}

.hrs-btn-secondary {
    background-color: var(--hrs-secondary);
    color: white;
}

.hrs-btn-secondary:hover {
    background-color: #2d8c4a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
    color: white;
}

.hrs-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sections */
.hrs-section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--hrs-text-dark);
    font-family: 'Poppins', sans-serif;
}

.hrs-section-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--hrs-text-light);
    line-height: 1.5;
}

/* Contact Form 7 Integration */
.hrs-cf7-form-container {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.hrs-cf7-form-container .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hrs-cf7-form-container .wpcf7-form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: var(--hrs-transition);
}

.hrs-cf7-form-container .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--hrs-primary);
    box-shadow: 0 0 0 3px rgba(42, 110, 143, 0.2);
}

.hrs-cf7-form-container .wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.hrs-cf7-form-container .wpcf7-submit {
    background-color: var(--hrs-primary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--hrs-transition);
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
}

.hrs-cf7-form-container .wpcf7-submit:hover {
    background-color: #1a4e6f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 110, 143, 0.3);
}

/* Hidden rating field */
#hrs-selected-rating {
    display: none;
}

/* Google Review Section */
.hrs-google-logo {
    font-size: 2.5rem;
    color: #34a853;
    margin-bottom: 20px;
}

.hrs-google-info {
    background-color: var(--hrs-secondary-light);
    border-radius: var(--hrs-border-radius);
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.hrs-google-info h3 {
    color: var(--hrs-secondary);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hrs-countdown {
    font-size: 1.2rem;
    margin: 25px 0;
    color: var(--hrs-text-light);
}

.hrs-countdown-number {
    font-weight: 700;
    color: var(--hrs-primary);
    font-size: 1.5rem;
}

.hrs-cancel-text {
    margin-top: 20px;
    color: var(--hrs-text-light);
}

.hrs-cancel-text a {
    color: var(--hrs-primary);
    text-decoration: none;
    font-weight: 500;
}

.hrs-cancel-text a:hover {
    text-decoration: underline;
}

/* Back Button */
.hrs-back-btn {
    margin-top: 30px;
    background-color: #6c757d;
}

.hrs-back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Footer Note */
.hrs-footer-note {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--hrs-text-light);
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    width: 100%;
    line-height: 1.5;
}

/* Error Message */
.hrs-error {
    color: var(--hrs-danger);
    padding: 15px;
    background-color: #f8d7da;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hrs-content-section {
        padding: 30px 20px;
    }
    
    .hrs-header-section h1 {
        font-size: 1.8rem;
    }
    
    .hrs-star {
        font-size: 2.8rem;
    }
    
    .hrs-btn {
        padding: 14px 30px;
        width: 100%;
    }
    
    .hrs-step-text {
        font-size: 0.8rem;
    }
    
    .hrs-hospital-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hrs-stars-container {
        gap: 5px;
    }
    
    .hrs-star {
        font-size: 2.5rem;
    }
    
    .hrs-step-number {
        width: 35px;
        height: 35px;
    }
    
    .hrs-step-line {
        top: 17px;
    }
    
    .hrs-header-section {
        padding: 20px 15px;
    }
    
    .hrs-subtitle {
        font-size: 1rem;
    }
}