/* WPBelo Theme & Plugin Detector Styles */

.wpbelo-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.wpbelo-header-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
}

.wpbelo-header-card h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #333;
}

.wpbelo-header-card p {
    margin: 0 0 30px 0;
    font-size: 1.2em;
    color: #666;
}

.wpbelo-input-group {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.wpbelo-input-group input {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wpbelo-input-group input:focus {
    outline: none;
    border-color: #f56600;
}

.wpbelo-btn {
    background: #f56600;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wpbelo-btn:hover {
    background: #e55a00;
}

.wpbelo-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.wpbelo-loading {
    text-align: center;
    padding: 40px;
}

.wpbelo-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f56600;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wpbelo-status {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid #c3e6cb;
}

.wpbelo-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.wpbelo-card h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 10px;
}

.wpbelo-theme-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.wpbelo-theme-image {
    flex-shrink: 0;
}

.wpbelo-theme-image img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.wpbelo-theme-info {
    flex: 1;
    min-width: 300px;
}

.wpbelo-theme-info h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.wpbelo-theme-info p {
    margin: 5px 0;
    color: #666;
}

.wpbelo-rating {
    margin: 10px 0;
}

.wpbelo-rating::before {
    content: '★★★★★';
    color: #ddd;
    background: linear-gradient(to right, #ffc107 0%, #ffc107 var(--rating), #ddd var(--rating), #ddd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wpbelo-plugins .wpbelo-plugin-item {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.wpbelo-plugin-item h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.wpbelo-plugin-item .wpbelo-plugin-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.wpbelo-plugin-item p {
    margin: 0;
    color: #666;
}

.wpbelo-site-details {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
}

.wpbelo-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.wpbelo-details-grid div {
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
}

.wpbelo-details-grid div:last-child {
    border-bottom: none;
}

.wpbelo-education {
    margin-top: 50px;
}

.wpbelo-education h2 {
    color: #333;
    margin-top: 40px;
    margin-bottom: 15px;
}

.wpbelo-education h2:first-child {
    margin-top: 0;
}

.wpbelo-education p {
    color: #666;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpbelo-container {
        padding: 10px;
    }

    .wpbelo-header-card {
        padding: 30px 20px;
    }

    .wpbelo-header-card h1 {
        font-size: 2em;
    }

    .wpbelo-input-group {
        flex-direction: column;
    }

    .wpbelo-input-group input {
        min-width: auto;
    }

    .wpbelo-theme-content {
        flex-direction: column;
    }

    .wpbelo-theme-image img {
        width: 100%;
        height: auto;
    }

    .wpbelo-details-grid {
        grid-template-columns: 1fr;
    }
}