/* Push Audit - Estilos do Plugin */

/* Loading */
.push-audit-loading {
    display: none;
    text-align: center;
    padding: 30px;
    background: #f0f0f1;
    border-radius: 8px;
    margin: 20px 0;
}

.push-audit-loading.active {
    display: block;
}

.push-audit-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: push-audit-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes push-audit-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.push-audit-loading p {
    font-size: 16px;
    color: #2271b1;
    font-weight: 600;
    margin: 0;
}

/* FormulÃ¡rio */
.push-audit-form-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.push-audit-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eeeeee;
    max-width: 600px;
    margin: 0 auto;
}

.push-audit-form br{
    display: none
}

.push-audit-form p {
    margin-bottom: 20px;
}

.push-audit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d2327;
    font-size: 14px;
}

.push-audit-form .required {
    color: #d63638;
}

.push-audit-form input[type="text"],
.push-audit-form input[type="email"],
.push-audit-form input[type="tel"],
.push-audit-form input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.push-audit-form input[type="text"]:focus,
.push-audit-form input[type="email"]:focus,
.push-audit-form input[type="tel"]:focus,
.push-audit-form input[type="url"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.push-audit-form .description {
    font-size: 12px;
    color: #646970;
    margin-top: 5px;
    font-style: italic;
}

.push-audit-form button[type="submit"],
.push-audit-form .button {
    background: #2271b1;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.push-audit-form button[type="submit"]:hover,
.push-audit-form .button:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.push-audit-form button[type="submit"]:active,
.push-audit-form .button:active {
    transform: translateY(0);
}

.push-audit-form-wrapper button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Report */
.push-audit-report {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.push-audit-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2271b1;
}

.push-audit-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f1;
}

.push-audit-section-header h3 {
    margin: 0;
    font-size: 24px;
    color: #1d2327;
    font-weight: 600;
}

/* GrÃ¡fico Circular de Performance */
.push-audit-score-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.push-audit-circular-progress {
    position: relative;
    width: 180px;
    height: 180px;
    min-width: 180px;
    min-height: 180px;
    flex-shrink: 0;
}

.push-audit-circle {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.push-audit-circle-bg {
    fill: none;
    stroke: #f0f0f1;
    stroke-width: 14;
}

.push-audit-circle-progress {
    fill: none;
    stroke-width: 14;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.push-audit-circle-progress.good {
    stroke: #0cce6b;
}

.push-audit-circle-progress.average {
    stroke: #ffa400;
}

.push-audit-circle-progress.poor {
    stroke: #ff4e42;
}

.push-audit-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.push-audit-score-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #1d2327;
}

.push-audit-score-label {
    display: block;
    font-size: 14px;
    color: #646970;
    margin-top: 8px;
    font-weight: 500;
}

/* MÃ©tricas */
.push-audit-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.push-audit-metric {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ccc;
}

.push-audit-metric.good {
    border-left-color: #0cce6b;
}

.push-audit-metric.average {
    border-left-color: #ffa400;
}

.push-audit-metric.poor {
    border-left-color: #ff4e42;
}

.push-audit-metric-label {
    font-size: 14px;
    color: #646970;
    margin-bottom: 8px;
    font-weight: 600;
}

.push-audit-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 10px;
}

.push-audit-metric-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.push-audit-metric-fill {
    height: 100%;
    background: #2271b1;
    transition: width 1s ease-in-out;
}

.push-audit-metric.good .push-audit-metric-fill {
    background: #0cce6b;
}

.push-audit-metric.average .push-audit-metric-fill {
    background: #ffa400;
}

.push-audit-metric.poor .push-audit-metric-fill {
    background: #ff4e42;
}

.push-audit-metric-target {
    font-size: 12px;
    color: #646970;
}

/* RecomendaÃ§Ãµes */
.push-audit-recommendations {
    margin-top: 30px;
}

.push-audit-recommendation {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.push-audit-recommendation.success {
    background: #e8f5e9;
    border-left-color: #0cce6b;
    color: #1e4620;
}

.push-audit-recommendation.warning {
    background: #fff3e0;
    border-left-color: #ffa400;
    color: #663c00;
}

.push-audit-recommendation.error {
    background: #ffebee;
    border-left-color: #ff4e42;
    color: #5f2120;
}

.push-audit-recommendation.info {
    background: #e3f2fd;
    border-left-color: #2271b1;
    color: #0d47a1;
}

.push-audit-recommendation strong {
    display: block;
    margin-bottom: 5px;
}

.push-audit-recommendation-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.push-audit-recommendation-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f1;
}

.push-audit-recommendation-list li:last-child {
    border-bottom: none;
}

.push-audit-recommendation-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2271b1;
    font-weight: bold;
}

/* Checklist SEO */
.push-audit-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.push-audit-check-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #ccc;
    transition: all 0.3s ease;
}

.push-audit-check-item:hover {
    background: #f0f0f1;
    transform: translateX(5px);
}

.push-audit-check-item.success {
    border-left-color: #0cce6b;
}

.push-audit-check-item.warning {
    border-left-color: #ffa400;
}

.push-audit-check-item.error {
    border-left-color: #ff4e42;
}

.push-audit-check-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.push-audit-check-content {
    flex: 1;
}

.push-audit-check-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1d2327;
}

.push-audit-check-content p {
    margin: 0;
    color: #646970;
    line-height: 1.6;
}

.push-audit-relatorio h3{
    text-align: center;
}

/* Mensagens */
.push-audit-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.push-audit-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.push-audit-message.success p{
    text-align: center;
    margin: 0;
}

.push-audit-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Box de CTA */
.push-audit-cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.push-audit-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.push-audit-cta-content {
    position: relative;
    z-index: 1;
}

.push-audit-cta-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.push-audit-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
    color: #fff;
}

.push-audit-cta-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.95);
}

.push-audit-cta-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.push-audit-cta-list li {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.push-audit-cta-list li:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.push-audit-cta-list li strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.push-audit-cta-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
    font-size: 16px;
}

.push-audit-cta-description strong {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.push-audit-cta-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.push-audit-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.push-audit-cta-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.push-audit-cta-button:active {
    transform: translateY(0);
}

.push-audit-cta-button-icon {
    font-size: 24px;
}

.push-audit-cta-button-text {
    letter-spacing: 0.5px;
}

/* Responsivo */
@media (max-width: 768px) {
    .push-audit-form-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .push-audit-report {
        padding: 0 10px;
    }

    .push-audit-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .push-audit-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .push-audit-section-header h3 {
        font-size: 20px;
    }

    .push-audit-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .push-audit-score-wrapper {
        margin: 20px 0;
        padding: 15px;
    }

    .push-audit-circular-progress {
        width: 140px;
        height: 140px;
        min-width: 140px;
        min-height: 140px;
    }

    .push-audit-circle-bg,
    .push-audit-circle-progress {
        stroke-width: 12;
    }

    .push-audit-score-number {
        font-size: 36px;
    }

    .push-audit-score-label {
        font-size: 12px;
        margin-top: 5px;
    }

    .push-audit-metric {
        padding: 15px;
    }

    .push-audit-metric-value {
        font-size: 24px;
    }

    .push-audit-cta-box {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .push-audit-cta-box h3 {
        font-size: 24px;
    }

    .push-audit-cta-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .push-audit-cta-list li {
        padding: 12px 15px;
        font-size: 13px;
    }

    .push-audit-cta-button {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .push-audit-circular-progress {
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }

    .push-audit-circle-bg,
    .push-audit-circle-progress {
        stroke-width: 10;
    }

    .push-audit-score-number {
        font-size: 32px;
    }

    .push-audit-section {
        padding: 15px 10px;
    }

    .push-audit-cta-box {
        padding: 25px 15px;
    }

    .push-audit-cta-icon {
        font-size: 36px;
    }

    .push-audit-cta-box h3 {
        font-size: 20px;
    }
}
