/* Fontoscope Main Styles */
#fontoscope-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
    margin: 20px 0;
}

#font-checker-form {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

#font-checker-url {
    width: 300px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

#font-checker-url:focus {
    border-color: #007cba;
    outline: none;
}

#font-checker-url:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

#font-checker-form button {
    padding: 10px 20px;
    background: #1E2B58;
    color: white;
    border: 1px solid #1E2B58;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#font-checker-form button:hover:not(:disabled) {
    background: transparent;
	color: #1E2B58!important
}

#font-checker-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#font-checker-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e1e1e1;
    min-height: 60px;
}

/* Loading Animation Styles */
.fontoscope-loading {
    text-align: center;
    padding: 30px 20px;
}

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

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

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.loading-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.loading-message {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

/* Font status styles */
.font-free {
    color: #28a745;
    font-weight: 500;
}

.font-paid {
    color: #dc3545;
    font-weight: 500;
}

.font-unknown {
    color: #6c757d;
    font-style: italic;
}

/* Result list styles */
#font-checker-result ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

#font-checker-result li {
    padding: 12px 15px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    line-height: 1.5;
}

#font-checker-result li strong {
    color: #2c3e50;
}

#font-checker-result a {
    color: #007cba;
    text-decoration: none;
}

#font-checker-result a:hover {
    text-decoration: underline;
}

/* Log styles */
#font-checker-result pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    overflow-x: auto;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    #font-checker-url {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    #font-checker-form {
        text-align: center;
    }
    
    #font-checker-form button {
        width: 100%;
    }
    
    #fontoscope-container {
        margin: 10px 0;
    }
    
    .loading-text {
        font-size: 16px;
    }
    
    .loading-message {
        font-size: 13px;
    }
}