.wsc-rating-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 35px 30px;
    text-align: center;
}

.wsc-rating-container h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 35px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.wsc-rating-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #0056b3);
    border-radius: 3px;
}

.wsc-rating-options {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wsc-rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
    padding: 15px 0;
    border-radius: 8px;
}

.wsc-rating-option:hover {
    transform: translateY(-2px);
}

.wsc-rating-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.wsc-rating-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Cores dos ícones */
.wsc-rating-1 {
    color: #dc3545;
}

.wsc-rating-2 {
    color: #fd7e14;
}

.wsc-rating-3 {
    color: #ffc107;
}

.wsc-rating-4 {
    color: #20c997;
}

.wsc-rating-5 {
    color: #198754;
}

.wsc-rating-label {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.wsc-rating-message {
    margin-top: 20px;
    padding: 10px;
    color: #495057;
    font-size: 14px;
}

.wsc-rating-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 10px;
    margin-top: 25px;
}

.wsc-rating-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}

/* Estilos base compartilhados para os três elementos */
.wsc-rating-ouvidoria,
.wsc-rating-info,
.wsc-rating-total-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
    min-width: 180px;
    height: 42px;
    box-sizing: border-box;
}

/* Estilos específicos para o botão de ouvidoria */
.wsc-rating-ouvidoria {
    color: #0066cc;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.wsc-rating-ouvidoria:hover {
    background: #0066cc;
    color: #fff;
}

/* Estilos específicos para o botão Como funciona */
.wsc-rating-info {
    color: #0066cc;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.wsc-rating-info:hover {
    background: #0066cc;
    color: #fff;
}

/* Estilos específicos para o contador de avaliações */
.wsc-rating-total {
    display: inline-flex;
    justify-content: flex-start;
    margin-left: 0;
}

.wsc-rating-total-inner {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.15);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.wsc-rating-total-inner:hover {
    background: rgba(0, 102, 204, 0.15);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.15);
}

/* Ícones */
.wsc-rating-ouvidoria svg,
.wsc-rating-info svg,
.wsc-rating-total-inner svg {
    width: 16px;
    height: 16px;
}

.wsc-rating-info:hover svg,
.wsc-rating-ouvidoria:hover svg {
    color: #fff;
}

.wsc-rating-total-inner svg {
    color: #0066cc;
    filter: drop-shadow(0 2px 3px rgba(0, 102, 204, 0.2));
}

.wsc-rating-limit {
    text-align: center;
    color: #dc3545;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
}

/* Estado desabilitado após votação */
.wsc-rating-disabled {
    pointer-events: none;
}

.wsc-rating-disabled .wsc-rating-option {
    cursor: default;
    opacity: 0.3;
}

.wsc-rating-disabled .wsc-rating-option.selected {
    opacity: 1;
    transform: scale(1.05);
}

/* Preenchimento dos ícones selecionados */
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon svg circle {
    fill: currentColor;
    opacity: 0.15;
    stroke-width: 2;
}

.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon svg path,
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon svg line {
    stroke-width: 3;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Olhos dos ícones selecionados */
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon svg circle[cx="13"][cy="15"],
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon svg circle[cx="27"][cy="15"] {
    fill: currentColor;
    opacity: 1;
    stroke: none;
}

/* Efeito de destaque no ícone selecionado */
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

/* Texto do ícone selecionado */
.wsc-rating-disabled .wsc-rating-option.selected .wsc-rating-label {
    color: currentColor;
    font-weight: 600;
}

/* Hover e interações */
.wsc-rating-option:hover .wsc-rating-icon,
.wsc-rating-option.selected .wsc-rating-icon {
    transform: scale(1.2);
}

/* Preenchimento dos ícones no hover */
.wsc-rating-option:hover .wsc-rating-icon svg circle {
    fill: currentColor;
    opacity: 0.15;
    stroke-width: 2;
}

.wsc-rating-option:hover .wsc-rating-icon svg path,
.wsc-rating-option:hover .wsc-rating-icon svg line {
    stroke-width: 3;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Olhos dos ícones no hover */
.wsc-rating-option:hover .wsc-rating-icon svg circle[cx="13"][cy="15"],
.wsc-rating-option:hover .wsc-rating-icon svg circle[cx="27"][cy="15"] {
    fill: currentColor;
    opacity: 1;
    stroke: none;
}

/* Efeito de destaque no hover */
.wsc-rating-option:hover .wsc-rating-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

/* Responsividade */
@media (max-width: 1024px) {
    .wsc-rating-container {
        margin: 20px;
        padding: 30px 25px;
    }

    .wsc-rating-options {
        gap: 30px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .wsc-rating-option {
        width: 90px;
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .wsc-rating-container {
        padding: 25px 20px;
    }

    .wsc-rating-options {
        gap: 20px;
        padding: 10px;
        margin-bottom: 15px;
    }

    .wsc-rating-option {
        width: 60px;
        padding: 8px 0;
    }

    .wsc-rating-icon {
        width: 30px;
        height: 30px;
    }

    .wsc-rating-label {
        font-size: 12px;
    }

    .wsc-rating-container h3 {
        font-size: 20px;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    .wsc-rating-container h3::after {
        width: 50px;
        height: 2px;
    }

    .wsc-rating-footer {
        padding: 0;
    }

    .wsc-rating-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        width: 100%;
    }

    .wsc-rating-ouvidoria,
    .wsc-rating-info,
    .wsc-rating-total-inner {
        width: 100%;
        min-width: unset;
        justify-content: center;
    }
}

/* Modal de agradecimento */
.wsc-rating-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wsc-rating-modal.show {
    opacity: 1;
    visibility: visible;
}

.wsc-rating-modal-content {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(25, 135, 84, 0.15);
    max-width: 450px;
    width: 90%;
}

.wsc-rating-modal.show .wsc-rating-modal-content {
    transform: translateY(0);
}

.wsc-rating-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

.wsc-rating-modal-icon svg {
    width: 40px;
    height: 40px;
    color: #198754;
    filter: drop-shadow(0 2px 4px rgba(25, 135, 84, 0.2));
}

.wsc-rating-modal-message {
    font-size: 26px;
    color: #198754;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.wsc-rating-modal-submessage {
    font-size: 15px;
    color: #495057;
    margin-bottom: 30px;
    line-height: 1.7;
}

.wsc-rating-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: #198754;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.wsc-rating-modal-close:hover {
    background: #146c43;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(25, 135, 84, 0.25);
}

@media (max-width: 768px) {
    .wsc-rating-modal-content {
        padding: 30px;
        margin: 20px;
    }

    .wsc-rating-modal-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .wsc-rating-modal-icon svg {
        width: 35px;
        height: 35px;
    }

    .wsc-rating-modal-message {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .wsc-rating-modal-submessage {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .wsc-rating-modal-close {
        padding: 12px 25px;
        font-size: 14px;
    }
}

.wsc-rating-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0066cc;
    font-weight: 500;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wsc-rating-info:hover {
    background: #0066cc;
    color: #fff;
}

.wsc-rating-info svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.wsc-rating-info:hover svg {
    color: #fff;
}

/* Modal de Informações */
.wsc-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.wsc-info-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wsc-info-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 95%;
    position: relative;
    margin: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.wsc-info-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.wsc-info-modal-close:hover {
    color: #333;
    transform: rotate(90deg);
}

.wsc-info-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.wsc-info-modal-header svg {
    width: 28px;
    height: 28px;
    color: #0066cc;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 204, 0.2));
}

.wsc-info-modal-header h4 {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.wsc-info-modal-body {
    padding: 35px;
}

.wsc-info-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.wsc-info-section:hover {
    border-color: #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.wsc-info-section:last-child {
    margin-bottom: 0;
}

.wsc-info-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.wsc-info-section-header svg {
    width: 22px;
    height: 22px;
    color: #0066cc;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 204, 0.1));
}

.wsc-info-section-header h5 {
    margin: 0;
    font-size: 17px;
    color: #0066cc;
    font-weight: 600;
}

.wsc-info-section p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
}

.wsc-info-highlight {
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
}

.wsc-info-highlight.warning {
    color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
    border: 1px solid rgba(253, 126, 20, 0.2);
}

.wsc-info-highlight.alert {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.wsc-info-highlight.number {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
    font-weight: 600;
}

.wsc-info-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wsc-info-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.wsc-satisfaction-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
}

.satisfaction-level {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    min-width: 140px;
}

.satisfaction-level.level-1 {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.satisfaction-level.level-2 {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.satisfaction-level.level-3 {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.satisfaction-level.level-4 {
    background: rgba(32, 201, 151, 0.1);
    color: #20c997;
}

.satisfaction-level.level-5 {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

@media (max-width: 768px) {
    .wsc-info-modal-content {
        width: 92%;
        margin: 15px;
        max-height: calc(100vh - 30px);
        overflow-y: auto;
    }
    
    .wsc-info-modal-body {
        padding: 25px;
    }
    
    .wsc-info-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .satisfaction-level {
        min-width: unset;
        width: 100%;
    }
}

/* Modal de limite de avaliações */
.wsc-limit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wsc-limit-modal.show {
    opacity: 1;
    visibility: visible;
}

.wsc-limit-modal-content {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.15);
}

.wsc-limit-modal.show .wsc-limit-modal-content {
    transform: translateY(0);
}

.wsc-limit-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseAlert 2s infinite;
}

@keyframes pulseAlert {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.wsc-limit-modal-icon svg {
    width: 40px;
    height: 40px;
    color: #dc3545;
    filter: drop-shadow(0 2px 4px rgba(220, 53, 69, 0.2));
}

.wsc-limit-modal-message {
    font-size: 26px;
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: -0.3px;
}

.wsc-limit-modal-submessage {
    font-size: 15px;
    color: #495057;
    margin-bottom: 25px;
    line-height: 1.7;
}

.wsc-limit-highlight {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 16px;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.wsc-limit-modal-tip {
    display: block;
    margin: 25px 0 35px;
    padding: 16px 20px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 12px;
    color: #198754;
    font-weight: 500;
    border: 1px solid rgba(25, 135, 84, 0.2);
    font-size: 14px;
    line-height: 1.5;
}

.wsc-limit-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.wsc-limit-modal-close:hover {
    background: #bb2d3b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 53, 69, 0.25);
}

@media (max-width: 768px) {
    .wsc-limit-modal-content {
        padding: 25px;
        margin: 20px;
    }

    .wsc-limit-modal-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .wsc-limit-modal-icon svg {
        width: 35px;
        height: 35px;
    }

    .wsc-limit-modal-message {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .wsc-limit-modal-submessage {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .wsc-limit-modal-tip {
        margin: 20px 0 30px;
        padding: 14px 18px;
    }

    .wsc-limit-modal-close {
        padding: 12px 25px;
        font-size: 14px;
    }
} 