/* Glavni kontejner */
.seo-analyzer-container {
    max-width: 1000px;
    margin: 20px 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 1px 3px rgba(0,0,0,0.1);*/
    box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 15%);
}

/* Form elementi */
#analyzeForm {
    margin-bottom: 30px;
}

#analyzeForm input[type="url"],
#analyzeForm input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
}

#analyzeForm .button-primary {
    padding: 8px 20px;
    height: auto;
    font-size: 18px;
    border-radius: 8px; 
}

/* Loading animacija */
#loading {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #2271b1; /* WordPress modra */
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-steps {
    max-width: 400px;
    margin: 0 auto;
}

.loading-steps p {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    background: #f0f0f1; /* WordPress siva */
    opacity: 0.5;
    transition: all 0.3s ease;
}

.loading-steps p.active {
    opacity: 1;
    background: #f0f6fc; /* WordPress svetlo modra */
    transform: scale(1.05);
}

/* Rezultati */
.results-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.results-section h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #1d2327; /* WordPress temna */
    font-size: 1.3em;
}

.google-score li {
    padding-bottom: 10px;
}

/* Ocene */
.score {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 5px;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.score-excellent {
    background-color: #00a32a; /* WordPress zelena */
    color: white;
}

.score-average {
    background-color: #dba617; /* WordPress rumena */
    color: white;
}

.score-poor {
    background-color: #d63638; /* WordPress rdeča */
    color: white;
}

.score-na {
    background-color: #646970; /* WordPress siva */
    color: white;
}

/* Priporočila */
.recommendations-list {
    margin: 0;
    padding: 0;
}

.recommendation-item {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid;
    background: #f6f7f7; /* WordPress svetlo siva */
    list-style: none;
}

.recommendation-item h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.recommendation-item p {
    margin: 0;
    color: #50575e; /* WordPress temno siva */
    font-size: 16px;
}

.recommendation-item.success {
    background-color: #f0f6fc; /* WordPress svetlo modra */
    border-left-color: #4fa722; /* WordPress modra */
}

.recommendation-item.success h3 {
    color: #4fa722;
}

.recommendation-item.warning {
    background-color: #fcf0f1; /* WordPress svetlo rdeča */
    border-left-color: #d63638; /* WordPress rdeča */
}

.recommendation-item.warning h3 {
    color: #d63638;
}

/* Dodaj na konec obstoječega CSS */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.action-buttons .button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    height: auto;
    line-height: 1.4;
    font-size: 16px;
}

.action-buttons .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}


/* Dodajte na konec obstoječega CSS */
#securityCheck {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 20px;
}

.security-question {
    margin-top: 15px;
}

.security-question label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 18px;
}

.security-question input {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px !important;
}

#checkSecurityBtn {
    font-size: 18px;
}

.security-question input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dashicons.rotating {
    animation: rotate 1s linear infinite;
}

/* Responsive prilagoditve */
@media screen and (max-width: 782px) {
    .seo-analyzer-container {
        margin: 10px 0;
        padding: 15px;
    }
    
    .results-section {
        padding: 15px;
    }
    
    .recommendation-item {
        padding: 12px;
    }
}

@media screen and (max-width: 600px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .button {
        width: 100%;
        justify-content: center;
    }
} 