.device-checker-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.device-checker-container h3 {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.checker-subtitle {
    color: #6b7280;
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.model-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.model-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.model-input::placeholder {
    color: #9ca3af;
}

.test-button {
    padding: 0.5em 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.test-button:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.test-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.75rem;
    animation: slideIn 0.3s ease;
}

.result-card:last-child {
    margin-bottom: 0;
}

.result-card.preview {
    border-style: dashed;
    background: #fefefe;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card.success {
    background: #f0fdf4;
    border-color: #86efac;
}

.result-card.info {
    background: #fef3c7;
    border-color: #fcd34d;
}

.result-icon {
    font-size: 2.5rem;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.result-card.success .result-icon {
    color: #16a34a;
}

.result-card.info .result-icon {
    color: #d97706;
}

.result-content {
    flex: 1;
}

.model-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-content h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.result-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.tested-devices {
    margin-top: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.tested-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.tested-header h4 {
    color: #1f2937;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.clear-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .device-checker-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .device-checker-container h3 {
        font-size: 1.5rem;
    }

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

    .test-button {
        width: 100%;
    }

    .result-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .result-icon {
        font-size: 2rem;
    }

    .result-content h4 {
        font-size: 1.125rem;
    }

    .tested-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .clear-button {
        width: 100%;
    }
}
